diff options
author | Lang Hames <lhames@gmail.com> | 2020-09-04 12:27:40 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-09-04 13:23:52 -0700 |
commit | 3b64052a2572e69355969a59a0c4c8aba4fee887 (patch) | |
tree | 45c218453339929ec89f510daed86e4f4c2d7335 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 6b50ce3ac95362bfe12aaa2b7bdbbef250f225fb (diff) | |
download | llvm-3b64052a2572e69355969a59a0c4c8aba4fee887.zip llvm-3b64052a2572e69355969a59a0c4c8aba4fee887.tar.gz llvm-3b64052a2572e69355969a59a0c4c8aba4fee887.tar.bz2 |
[ORC] Fix some bugs in TPCDynamicLibrarySearchGenerator, use in llvm-jitlink.
TPCDynamicLibrarySearchGenerator was generating errors on missing
symbols, but that doesn't fit the DefinitionGenerator contract: A symbol
that isn't generated by a particular generator should not cause an
error.
This commit fixes the error by using SymbolLookupFlags::WeaklyReferencedSymbol
for all elements of the lookup, and switches llvm-jitlink to use
TPCDynamicLibrarySearchGenerator.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions