mikolaj-pirog wrote:

Thanks to the review above mentioning LTO, I realized that this solution has a 
problem with LTO, namely using LTO + PGO/PGU, will only emit the LTCG string in 
the binary. This is because right now the magic sections are only written in 
the COFF object file emission. I will also add the emission of this sections in 
the AsmPrinter, so they should appear in the bitcode files, and using LTO + 
PGO/PGU will emit both the "LTCG" and "PGO/PGU" strings
https://github.com/llvm/llvm-project/pull/114260
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to