[ORC] Skip ST_File symbols in MaterializationUnit interfaces / resolution.
authorLang Hames <lhames@gmail.com>
Wed, 4 Mar 2020 00:02:46 +0000 (16:02 -0800)
committerLang Hames <lhames@gmail.com>
Wed, 4 Mar 2020 00:15:44 +0000 (16:15 -0800)
commit31e03317633909c50ead53edf8a19b60698075cc
tree51d6de337144f36b91a6017b2c812e77e8cbc835
parent6f5d5d6602fa41c695315630eb0c72b6742b2d87
[ORC] Skip ST_File symbols in MaterializationUnit interfaces / resolution.

ST_File symbols aren't relevant for linking purposes, but can end up shadowing
real symbols if they're not filtered.

No test case yet: The ideal testcase for this would be an ELF llvm-jitlink test,
but llvm-jitlink support for ELF is still under development. We should add a
testcase for this once support lands in tree.
llvm/lib/ExecutionEngine/Orc/Mangling.cpp
llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp