dmd profiling corrupted names in trace.log?

Chris Katko ckatko at gmail.com
Sat Oct 16 07:20:47 UTC 2021


On Friday, 15 October 2021 at 10:08:21 UTC, Stefan Koch wrote:
> On Friday, 15 October 2021 at 09:51:39 UTC, Chris Katko wrote:
>> Any idea (bug?) why dmd's profiling file trace.log dumps 
>> bunches of unreadable binary characters instead of function 
>> names?
>>
>> [...]
>
> have you removed the previous trace.log in the folder you 
> executed the binary in?

You have GOT to be kidding me! I'm supposed to know to delete the 
log file every time I run the program (or is it "change" the 
program?) even though there's zero mention of that in the man 
page for dmd? There's no mention that the logs are additive!

https://dlang.org/dmd-windows.html

Is profile=gc additive? Who knows! Certainly not the 
documentation.


More information about the Digitalmars-d mailing list