aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorSunho Kim <ksunhokim123@gmail.com>2022-07-28 21:12:25 +0900
committerSunho Kim <ksunhokim123@gmail.com>2022-07-28 21:12:25 +0900
commit72ea1a721e005f29c6fea4a684807a68abd93c39 (patch)
tree721ba5e299e641124e2e8d85de45fac3d28e2571 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent0cc3c184c784d5f0d55de8ad0a9eeee876acd149 (diff)
downloadllvm-72ea1a721e005f29c6fea4a684807a68abd93c39.zip
llvm-72ea1a721e005f29c6fea4a684807a68abd93c39.tar.gz
llvm-72ea1a721e005f29c6fea4a684807a68abd93c39.tar.bz2
[ORC] Fix weak hidden symbols failure on PPC with runtimedyld
Fix "JIT session error: Symbols not found: [ DW.ref.__gxx_personality_v0 ] error" which happens when trying to use exceptions on ppc linux. To do this, it expands AutoClaimSymbols option in RTDyldObjectLinkingLayer to also claim weak symbols before they are tried to be resovled. In ppc linux, DW.ref symbols is emitted as weak hidden symbols in the later stage of MC pipeline. This means when using IRLayer (i.e. LLJIT), IRLayer will not claim responsibility for such symbols and RuntimeDyld will skip defining this symbol even though it couldn't resolve corresponding external symbol. Reviewed By: sgraenitz Differential Revision: https://reviews.llvm.org/D129175
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions