diff options
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r-- | llvm/lib/LTO/LTO.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp index 8d23f53eae6..65bcef6370d 100644 --- a/llvm/lib/LTO/LTO.cpp +++ b/llvm/lib/LTO/LTO.cpp @@ -367,7 +367,8 @@ Error LTO::addRegularLTO(std::unique_ptr<InputFile> Input, assert(ResI == Res.end()); return RegularLTO.Mover->move(Obj->takeModule(), Keep, - [](GlobalValue &, IRMover::ValueAdder) {}); + [](GlobalValue &, IRMover::ValueAdder) {}, + /* LinkModuleInlineAsm */ true); } // Add a ThinLTO object to the link. |