[clang] [lld] [llvm] [Windows] Add support for emitting PGO/LTO magic strings in the Windows PE debug directory (PR #114260)

Mikołaj Piróg via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 09:21:30 PST 2024


================
@@ -112,6 +112,8 @@ class MCTargetOptions {
   // Whether or not to use full register names on PowerPC.
   bool PPCUseFullRegisterNames : 1;
 
+  bool PgoInstrumentation = false;
----------------
mikolaj-pirog wrote:

As far as I am aware, there isn't any global metadata flag I could fetch from within MC. Could you elaborate a bit more when the current solution would cause problems? I am not that familiar with LTO inner workings

https://github.com/llvm/llvm-project/pull/114260


More information about the llvm-commits mailing list