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.
2 parents f1634fd + e874615 commit 2cc4ce9Copy full SHA for 2cc4ce9
llvm/tools/llc/llc.cpp
@@ -815,8 +815,8 @@ static int compileModule(char **argv, LLVMContext &Context) {
815
reportError("target does not support generation of this file type");
816
}
817
818
- const_cast<TargetLoweringObjectFile *>(Target->getObjFileLowering())
819
- ->Initialize(MMIWP->getMMI().getContext(), *Target);
+ Target->getObjFileLowering()->Initialize(MMIWP->getMMI().getContext(),
+ *Target);
820
if (MIR) {
821
assert(MMIWP && "Forgot to create MMIWP?");
822
if (MIR->parseMachineFunctions(*M, MMIWP->getMMI()))
0 commit comments