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 753d99a commit 9ba7913Copy full SHA for 9ba7913
llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp
@@ -451,7 +451,7 @@ class AsmPrinterDebugHandlerTest : public AsmPrinterFixtureBase {
451
AP->addDebugHandler(std::make_unique<TestDebugHandler>(*this, AP));
452
LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(&AP->TM);
453
legacy::PassManager PM;
454
- MachineModuleInfo MMI;
+ MachineModuleInfo MMI(LLVMTM);
455
PM.add(new MachineModuleInfoWrapperPass(MMI));
456
PM.add(TestPrinter->releaseAP()); // Takes ownership of destroying AP
457
LLVMContext Context;
0 commit comments