summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-07-20 18:31:52 +0000
committerLang Hames <lhames@gmail.com>2018-07-20 18:31:52 +0000
commitd4df0f17335c125068fed51f554a5d81caebeb1a (patch)
treec9976f0c403de2d1a46735af1c6dc20f0c0588e0 /llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
parentfd0c1e71694ef1def33ec6293dbfae1f4c96f39b (diff)
downloadbcm5719-llvm-d4df0f17335c125068fed51f554a5d81caebeb1a.tar.gz
bcm5719-llvm-d4df0f17335c125068fed51f554a5d81caebeb1a.zip
[ORC] Simplify VSO::lookupFlags to return the flags map.
This discards the unresolved symbols set and returns the flags map directly (rather than mutating it via the first argument). The unresolved symbols result made it easy to chain lookupFlags calls, but such chaining should be rare to non-existant (especially now that symbol resolvers are being deprecated) so the simpler method signature is preferable. llvm-svn: 337594
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp b/llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
index 8c53b4f58de..7cdc6b352d1 100644
--- a/llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
@@ -64,7 +64,7 @@ public:
return;
assert(VSOs.front() && "VSOList entry can not be null");
- VSOs.front()->lookupFlags(InternedResult, InternedSymbols);
+ InternedResult = VSOs.front()->lookupFlags(InternedSymbols);
});
LookupFlagsResult Result;
OpenPOWER on IntegriCloud