dmd profiling corrupted names in trace.log?

Chris Katko ckatko at gmail.com
Fri Oct 15 09:51:39 UTC 2021


Any idea (bug?) why dmd's profiling file trace.log dumps bunches 
of unreadable binary characters instead of function names?

````D
======== Timer frequency unknown, Times are in Megaticks ========

   Num          Tree        Func        Per
   Calls        Time        Time        Call

       5       41948       38714        7742     bool 
main.initialize()
    4676       37406       37406           7     �E�U
    4676        8269        8269           1     ����U
    2436       50548        3381           1     void 
main.display_t.draw2()
    4676        2784        2770           0     ����U
  100559        2651        2572           0     ����U
      12        1718        1708         142     ����U
    2436        1617        1616           0     void 
main.display_t.start_frame()
      44        1023        1023          23     ����U
    2436         927         927           0     void 
main.display_t.end_frame()
    9352         752         752           0     ����U
     196         679         679           3     void 
main.map_t.draw(main.viewport_t)
       4         349         319          79     ����U
5152952        2960         309           0
````


More information about the Digitalmars-d mailing list