summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorGulfem Savrun Yeniceri <gulfem@google.com>2021-12-11 03:14:48 +0000
committerGulfem Savrun Yeniceri <gulfem@google.com>2021-12-12 04:40:17 +0000
commite5a8af7a90c6a9ac46293eb3600029d43d695b8e (patch)
tree95053367b185ba790d0eafd016e1f5bc94e0408f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent93fbaa46c82abd2d54bce9a7c3b39b01c30220d6 (diff)
[Passes] Fix relative lookup table converter pass
This patch fixes the relative table converter pass for the lookup table accesses that are resulted in an instruction sequence, where gep is not immediately followed by a load, such as gep being hoisted outside the loop or another instruction is inserted in between them. The fix inserts the call to load.relative.instrinsic in the original place of load instead of gep. Issue is reported by FreeBSD via https://bugs.freebsd.org/259921. Differential Revision: https://reviews.llvm.org/D115571
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions