diff options
author | Pavel Labath <pavel@labath.sk> | 2025-05-22 14:18:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 14:18:35 +0200 |
commit | b63c1c47b78a3c7af3014c4c77d1aad87ec78729 (patch) | |
tree | 81dbe415d7aee8e8c54652bd3049c1b246140ca4 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | b9a709832cd96ff3405dd0da9c436d560d8a4f1c (diff) | |
download | llvm-b63c1c47b78a3c7af3014c4c77d1aad87ec78729.zip llvm-b63c1c47b78a3c7af3014c4c77d1aad87ec78729.tar.gz llvm-b63c1c47b78a3c7af3014c4c77d1aad87ec78729.tar.bz2 |
[lldb] Disable some unwind plans for discontinuous functions (#140927)
Basically, disable everything except the eh_frame unwind plan, as that's
the only one which supports this right now. The other plans are working
with now trying the interpret everything in between the function parts
as a part of the function, which is more likely to produce wrong results
than correct ones.
I changed the interface for object file plans, to give the
implementations a chance to implement this correctly, but I haven't
actually converted PECallFrameInfo (its only implementation) to handle
that. (from the looks of things, it should be relatively easy to do, if
it becomes necessary)
I'm also deleting UnwindPlan::GetFirstNonPrologueInsn, as it's not used,
and it doesn't work for discontinuous functions.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions