Profile Guide Optimization on LDC2 -emit-llvm

Prasun Anand via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Mar 26 23:28:39 PDT 2017


Hi,

Recently, I wrote a software in D. I am using ldc2 1.1.0 (DMD 
v2.071.2, LLVM 3.7.1) for compiling. I am interested in PGO and 
profiled the project with 
[ldc-profdata](https://wiki.dlang.org/LDC_LLVM_profiling_instrumentation).

However, I wanted to get a full-report of profiling-data. I find 
that ldc-profdata
provides only two options i.e. show(not very helpful) and merge.

clang is able to generate .bc files that creates report by adding 
an
option -emit-llvm.

How can I get a full-report of profiling data?

Regards,
Prasun


More information about the digitalmars-d-ldc mailing list