diff options
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/lli/lli.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-jitlink/llvm-jitlink.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 37132d1..808ec88 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -1058,7 +1058,7 @@ int runOrcJIT(const char *ProgName) { auto JDItr = std::prev(IdxToDylib.lower_bound(EAIdx)); auto &JD = *JDItr->second; JD.addGenerator(ExitOnErr(orc::StaticLibraryDefinitionGenerator::Load( - J->getObjLinkingLayer(), EAItr->c_str(), *TT))); + J->getObjLinkingLayer(), EAItr->c_str()))); } } diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp index ed5d15b..be0fe17 100644 --- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp +++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp @@ -1631,8 +1631,7 @@ static Error addLibraries(Session &S, break; } auto G = StaticLibraryDefinitionGenerator::Load( - S.ObjLayer, Path, S.ES.getTargetTriple(), - std::move(GetObjFileInterface)); + S.ObjLayer, Path, std::move(GetObjFileInterface)); if (!G) return G.takeError(); |