diff options
Diffstat (limited to 'tools/lto/LTOModule.cpp')
-rw-r--r-- | tools/lto/LTOModule.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index f8b42f1..1794c97 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -619,7 +619,10 @@ bool LTOModule::addAsmGlobalSymbols(MCContext &Context) { Context, *Streamer, *_target->getMCAsmInfo())); OwningPtr<TargetAsmParser> - TAP(_target->getTarget().createAsmParser(*Parser.get(), *_target.get())); + TAP(_target->getTarget().createAsmParser(_target->getTargetTriple(), + _target->getTargetCPU(), + _target->getTargetFeatureString(), + *Parser.get())); Parser->setTargetParser(*TAP); int Res = Parser->Run(false); if (Res) |