We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f9179 commit dce00acCopy full SHA for dce00ac
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -562,8 +562,8 @@ bool AsmPrinter::doInitialization(Module &M) {
562
if (MAI->doesSupportDebugInformation()) {
563
// On Windows targets, emit minimal CodeView compiler info even when debug
564
// info is disabled.
565
- if (M.getNamedMetadata("llvm.dbg.cu") &&
566
- (TM.getTargetTriple().isOSWindows() || TM.getTargetTriple().isUEFI()))
+ if ((TM.getTargetTriple().isOSWindows() || TM.getTargetTriple().isUEFI()) &&
+ M.getNamedMetadata("llvm.dbg.cu"))
567
Handlers.push_back(std::make_unique<CodeViewDebug>(this));
568
if (!M.getCodeViewFlag() || M.getDwarfVersion()) {
569
if (hasDebugInfo()) {
0 commit comments