aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-08-08 16:13:09 +0200
committerNikita Popov <npopov@redhat.com>2022-08-09 09:36:39 +0200
commit4ac00789e1b30145ec3cacc4b2a66cb755ff9e4a (patch)
tree557ac7c9940c612cc8aa2da2dd4ce7e5c8513cce /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parentd4ff9eff767c24716b5654780bc2e48c2017b4c5 (diff)
downloadllvm-4ac00789e1b30145ec3cacc4b2a66cb755ff9e4a.zip
llvm-4ac00789e1b30145ec3cacc4b2a66cb755ff9e4a.tar.gz
llvm-4ac00789e1b30145ec3cacc4b2a66cb755ff9e4a.tar.bz2
[RelLookupTableConverter] Bail on invalid pointer size (x32)
The RelLookupTableConverter pass currently only supports 64-bit pointers. This is currently enforced using an isArch64Bit() check on the target triple. However, we consider x32 to be a 64-bit target, even though the pointers are 32-bit. (And independently of that specific example, there may be address spaces with different pointer sizes.) As such, add an additional guard for the size of the pointers that are actually part of the lookup table. Differential Revision: https://reviews.llvm.org/D131399
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions