search for: sample_exe

Displaying 1 result from an estimated 1 matches for "sample_exe".

2020 Jul 16
2
[profile] Heads Up: Please Double Check the Instrument Level of Your PGO Profile Files
...appened when you’re using Full LTO setup + BFD linker to compile first-stage PGO executables that were expected to generate IR level profile files. That is, compiling an executable using following commands: ``` clang -flto -fprofile-generate -c sample.c -o sample.c.bc.o clang -flto sample.c.bc.o -o sample_exe -fprofile-generate ``` The resulting sample_exe executable will always emit Frontend level profile files despite the presence of the -fprofile-generate flag, which should make the executable generate IR level profile files. Other prerequisites to reproduce this problem including: • Using (latest...