aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2024-11-19 15:52:42 -0800
committerJason Molenda <jmolenda@apple.com>2024-11-19 16:01:27 -0800
commitd29a50f358e71a695b23e456d66ed2924617deb9 (patch)
treed646d736a5680fcb58ddce08273e8d17ff763e75 /llvm/lib/CodeGen/MachineSink.cpp
parent21df32511b558b2c1e24fe23f677fffaad4da333 (diff)
downloadllvm-d29a50f358e71a695b23e456d66ed2924617deb9.zip
llvm-d29a50f358e71a695b23e456d66ed2924617deb9.tar.gz
llvm-d29a50f358e71a695b23e456d66ed2924617deb9.tar.bz2
Revert "[lldb] Allow fetching of RA register when above fault handler (#98566)"
This reverts commit fd424179dcb3417fc0675f77d2bf06c750dd1c33. This patch has two problems. First, it is unnecessary, Pavel landed a fix a week or so before mine which solves this problem in bbd54e08b08f5ccd38c4665178e65c58f7b14459 . Second, the fix is incorrect; for a function above a trap handler, where all registers are available, this patch would have lldb fetch the return address register from frame 0. This might be 10 frames up in the stack; the frame 0 return address register is incorrect. The change would have been correct a short bit later than this, but Pavel's fix is executed earlier in the function and none of this is needed.
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions