diff options
author | Jessica Paquette <jpaquette@apple.com> | 2020-01-07 11:12:32 -0800 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2020-01-07 11:27:25 -0800 |
commit | acd258082477b8a4edf3037127efb5fed4494da3 (patch) | |
tree | a2bc78944f00807886d035b193d664e141724e76 /lldb/scripts/Python | |
parent | afa8211e979c25100c2ed41d8da1e18b45d0ef2b (diff) | |
download | llvm-acd258082477b8a4edf3037127efb5fed4494da3.zip llvm-acd258082477b8a4edf3037127efb5fed4494da3.tar.gz llvm-acd258082477b8a4edf3037127efb5fed4494da3.tar.bz2 |
[MachineOutliner][AArch64] Save + restore LR in noreturn functions
Conservatively always save + restore LR in noreturn functions.
These functions do not end in a RET, and so they aren't guaranteed to have an
instruction which uses LR in any way. So, as a result, you can end up in
unfortunate situations where you can't backtrace out of these functions in a
debugger.
Remove the old noreturn test, and add a new one which is more descriptive.
Remove the restriction that we can't outline from noreturn functions as well
since we now do the right thing.
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions