On Tuesday, 24 August 2021 at 09:45:31 UTC, JG wrote:
On Tuesday, 24 August 2021 at 09:42:29 UTC, JG wrote:
On Tuesday, 24 August 2021 at 09:36:06 UTC, JG wrote:
[...]
In case anyone is interested it seems that it was forked to
here:
https://github.com/joakim-brannstrom/profdump
Perhaps the dub page could be updated?
Tried to continue following the instructions.
Ran:
profdump -b trace.log trace.log.b
Got:
core.exception.RangeError@source/app.d(134): Range violation
----------------
??:? [0x557458c2bad5]
??:? [0x557458c2d556]
??:? [0x557458c147af]
??:? [0x557458c0b458]
??:? [0x557458c0bb47]
app.d:133 [0x557458b96199]
??:? [0x557458c1449b]
??:? [0x557458c14397]
??:? [0x557458c141ed]
/home/jg/dlang/ldc-1.26.0/bin/../import/core/internal/entrypoint.d:42
[0x557458b979d4]
??:? __libc_start_main [0x7f0f84d39cb1]
??:? [0x557458b4a0cd]
The reason for the crash boils down to the fact that this fails:
foreach(k; sort!"a > b"(funcs.keys)) assert(k in funcs);
funcs is of type ubyte[4][float]
Is this a compiler bug?