================
@@ -560,11 +560,12 @@ bool AsmPrinter::doInitialization(Module &M) {
}
if (MAI->doesSupportDebugInformation()) {
- bool EmitCodeView = M.getCodeViewFlag();
- if (EmitCodeView &&
- (TM.getTargetTriple().isOSWindows() || TM.getTargetTriple().isUEFI()))
+ // On Windows targets, emit minimal CodeView compiler info even when debug
+ // info is disabled.
+ if ((TM.getTargetTriple().isOSWindows() || TM.getTargetTriple().isUEFI())
&&
----------------
cjacek wrote:
The new version keeps the existing UEFI condition unchanged.
https://github.com/llvm/llvm-project/pull/142970
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits