[lld] [lld][COFF] Emit coffgrp debug record (PR #205630)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 4 08:37:03 PDT 2026


================
@@ -317,6 +317,10 @@ defm lto_pgo_warn_mismatch: B<
      "lto-pgo-warn-mismatch",
      "turn on warnings about profile cfg mismatch (default)>",
      "turn off warnings about profile cfg mismatch">;
+defm coff_debug_record: B<
----------------
aganea wrote:

I think instead we should mirror MSVC's behavior: circumstantial generation of this coff debug record, based on the conditions I've mentionned below: LTO or module flag. And only add a new flag `/nocoffgrpinfo` to disable this new behavior, like MSVC does.

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


More information about the llvm-commits mailing list