diff options
author | Jason Molenda <jmolenda@apple.com> | 2024-11-19 15:52:42 -0800 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2024-11-19 16:01:27 -0800 |
commit | d29a50f358e71a695b23e456d66ed2924617deb9 (patch) | |
tree | d646d736a5680fcb58ddce08273e8d17ff763e75 /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 21df32511b558b2c1e24fe23f677fffaad4da333 (diff) | |
download | llvm-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