[llvm-branch-commits] [llvm] 5bc9c85 - [ORC] Fix missing forward of Allow filter in TPCDynamicLibrarySearchGenerator.

Lang Hames via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Dec 5 20:57:05 PST 2020


Author: Lang Hames
Date: 2020-12-06T15:42:45+11:00
New Revision: 5bc9c858e34026462070dbe0f937d4f243682bef

URL: https://github.com/llvm/llvm-project/commit/5bc9c858e34026462070dbe0f937d4f243682bef
DIFF: https://github.com/llvm/llvm-project/commit/5bc9c858e34026462070dbe0f937d4f243682bef.diff

LOG: [ORC] Fix missing forward of Allow filter in TPCDynamicLibrarySearchGenerator.

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h b/llvm/include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h
index 07720f5c0f33..ed4f6080bb4e 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h
@@ -47,7 +47,7 @@ class TPCDynamicLibrarySearchGenerator : public DefinitionGenerator {
   static Expected<std::unique_ptr<TPCDynamicLibrarySearchGenerator>>
   GetForTargetProcess(TargetProcessControl &TPC,
                       SymbolPredicate Allow = SymbolPredicate()) {
-    return Load(TPC, nullptr);
+    return Load(TPC, nullptr, std::move(Allow));
   }
 
   Error tryToGenerate(LookupState &LS, LookupKind K, JITDylib &JD,


        


More information about the llvm-branch-commits mailing list