[ORC] Honor linker private global prefix on symbol names.
authorLang Hames <lhames@gmail.com>
Sun, 14 Jun 2020 02:03:21 +0000 (19:03 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 15 Jun 2020 17:28:36 +0000 (10:28 -0700)
commit498dd745f55b1d38e6648f425dd9c0a42c52a4cf
tree2ddfc2b52331d8d6644255b6dbca8e70103c507c
parente54828ad47d92666a9d17d0993bbd41930a66a88
[ORC] Honor linker private global prefix on symbol names.

If a symbol name begins with the linker private global prefix (as
described by the DataLayout) then it should be treated as non-exported,
regardless of its LLVM IR visibility value.
llvm/lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp
llvm/test/ExecutionEngine/OrcLazy/private_linkage.ll