[ORC] Add a lookupFlags method to VSO.
authorLang Hames <lhames@gmail.com>
Sun, 21 Jan 2018 03:20:39 +0000 (03:20 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 21 Jan 2018 03:20:39 +0000 (03:20 +0000)
commit5ff5a30beecc65cb72b50047990dd684977f3001
treed0ae3bc8734aec12449f1a9a79ce048ee0e6e691
parent86edf536646b79a8892d994b87b7ce482b9e7248
[ORC] Add a lookupFlags method to VSO.

lookupFlags returns a SymbolFlagsMap for the requested symbols, along with a
set containing the SymbolStringPtr for any symbol not found in the VSO.

The JITSymbolFlags for each symbol will have been stripped of its transient
JIT-state flags (i.e. NotMaterialized, Materializing).

Calling lookupFlags does not trigger symbol materialization.

llvm-svn: 323060
llvm/include/llvm/ExecutionEngine/JITSymbol.h
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/lib/ExecutionEngine/Orc/Core.cpp
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp