[ORC] Do not include non-global symbols in getObjectSymbolFlags.
authorLang Hames <lhames@gmail.com>
Sun, 26 Aug 2018 16:46:02 +0000 (16:46 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 26 Aug 2018 16:46:02 +0000 (16:46 +0000)
commit60511582d7181e0226455a0b05b921e97156f7e1
tree576293de7a946db7a482685bff5b3735da5cdb00
parent6eb2b1354b2cbc32a0f0b044901694cd644425de
[ORC] Do not include non-global symbols in getObjectSymbolFlags.

Private symbols are not visible outside the object file, and so not defined by
the object file from ORC's perspective.

No test case yet. Ideally this would be a unit test parsing a checked-in binary,
but I am not aware of any way to reference the LLVM source root from a unit
test.

llvm-svn: 340703
llvm/lib/ExecutionEngine/Orc/Layer.cpp