diff options
author | Sunho Kim <ksunhokim123@gmail.com> | 2022-07-28 21:12:25 +0900 |
---|---|---|
committer | Sunho Kim <ksunhokim123@gmail.com> | 2022-07-28 21:12:25 +0900 |
commit | 72ea1a721e005f29c6fea4a684807a68abd93c39 (patch) | |
tree | 721ba5e299e641124e2e8d85de45fac3d28e2571 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 0cc3c184c784d5f0d55de8ad0a9eeee876acd149 (diff) | |
download | llvm-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/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions