Profiling with LDC
H. S. Teoh
hsteoh at quickfur.ath.cx
Wed Apr 25 17:31:06 UTC 2018
I'm trying to figure out how to do a traditional instrumented profile
with LDC. All docs that I've managed to find so far say to use
-fprofile-instr-generate, but when I try that, I get a ton of linker
errors complaining of undefined reference to the symbol:
__llvm_profile_instrument_target
What gives? I'm guessing I need to specify some additional LLVM
libraries for this?
I'm using the official Debian ldc package, btw. Is there possibly a
missing dependency on some llvm libraries?
T
--
If the comments and the code disagree, it's likely that *both* are wrong. -- Christopher
More information about the Digitalmars-d
mailing list