diff options
author | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2022-08-03 14:09:04 -0400 |
---|---|---|
committer | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2022-08-03 14:10:05 -0400 |
commit | a5a8a05c78c0d1298c4128aaafd0275354198afb (patch) | |
tree | 7b2154e5eb40f300e6e71472d70a34e7b57145f1 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | c9edf843fcf954132271214445857498fb47bb72 (diff) | |
download | llvm-a5a8a05c78c0d1298c4128aaafd0275354198afb.zip llvm-a5a8a05c78c0d1298c4128aaafd0275354198afb.tar.gz llvm-a5a8a05c78c0d1298c4128aaafd0275354198afb.tar.bz2 |
[SelectionDAG] Handle IntToPtr constants in dbg.value
The function `handleDebugValue` has custom logic to handle certain kinds
constants, namely integers, floats and null pointers. However, it does
not handle constant pointers created from IntToPtr ConstantExpressions.
This patch addresses the issue by replacing the Constant with its
integer operand.
A similar bug was addressed for GlobalISel in D130642.
Reviewed By: aprantl, #debug-info
Differential Revision: https://reviews.llvm.org/D130908
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions