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 2d6e7ef commit fc6cc40Copy full SHA for fc6cc40
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -473,11 +473,9 @@ bool AsmPrinter::doInitialization(Module &M) {
473
AddrLabelSymbols = nullptr;
474
475
// Initialize TargetLoweringObjectFile.
476
- const_cast<TargetLoweringObjectFile&>(getObjFileLowering())
477
- .Initialize(OutContext, TM);
+ TM.getObjFileLowering()->Initialize(OutContext, TM);
478
479
- const_cast<TargetLoweringObjectFile &>(getObjFileLowering())
480
- .getModuleMetadata(M);
+ TM.getObjFileLowering()->getModuleMetadata(M);
481
482
// On AIX, we delay emitting any section information until
483
// after emitting the .file pseudo-op. This allows additional
0 commit comments