aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-09-30 16:16:42 +0200
committerGitHub <noreply@github.com>2025-09-30 16:16:42 +0200
commit4a873d58df755d220889b994f59cbdea2cdefc49 (patch)
tree91032efb7948f8b90eb0d585fa34cfbf9a16e189 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parentcf50bbf983c6ff032c7ad0de27ffaff412947ffb (diff)
downloadllvm-4a873d58df755d220889b994f59cbdea2cdefc49.zip
llvm-4a873d58df755d220889b994f59cbdea2cdefc49.tar.gz
llvm-4a873d58df755d220889b994f59cbdea2cdefc49.tar.bz2
[IR] Don't create ptrtoint expression to determine alignment (NFCI) (#161364)
We try to determine the alignment of a constant by creating a ptrtoint expression and seeing if it folds. I believe the only case this can actually handle is where the constant is an inttoptr expression. Handle that directly instead of going through another ptrtoint expression. I ran into this while trying to clean up our isEliminableCastPair() mess, which is going to disable ptrtoint(inttoptr) folding without DataLayout, breaking this code.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions