OSDN Git Service

[ORC] Simplify VSO::lookupFlags to return the flags map.
authorLang Hames <lhames@gmail.com>
Fri, 20 Jul 2018 18:31:52 +0000 (18:31 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 20 Jul 2018 18:31:52 +0000 (18:31 +0000)
commitec3e95710f450d533dbd3ab1feca28d1bbf9c259
tree1dbd962ec0828077e5771e31c4de2a9ce008262b
parentcea401e58a5887201de799c8d78ef50713d87b98
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337594 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
include/llvm/ExecutionEngine/Orc/Core.h
include/llvm/ExecutionEngine/Orc/Legacy.h
include/llvm/ExecutionEngine/Orc/NullResolver.h
lib/ExecutionEngine/Orc/Core.cpp
lib/ExecutionEngine/Orc/Legacy.cpp
lib/ExecutionEngine/Orc/NullResolver.cpp
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp