`DYLD_PRINT_STATISTICS` should work with dyld3

Number:rdar://40593547 Date Originated:May 28 2018, 9:37 AM
Status:open Resolved:
Product:macOS + SDK Product Version:10.13.4 (17E202)
Classification:Serious bug Reproducible:always
dyld3 should print statistics after setting `DYLD_PRINT_STATISTICS=1` environment variable. Currently it prints no additional stats.

Steps to Reproduce:
1. Set `DYLD_PRINT_STATISTICS=1` environment variable.
2. Run some dyld3-enabled app from the terminal (e.g. Calculator)

Expected Results:
At 2. Some dyld statics should be printed.

Actual Results:
At 2. No statics are being printed.

macOS 10.13.4 (17E202)

MacBook Pro (Retina, 13-inch, Early 2015)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!