llvm-project/lldb/source/Plugins/Instruction
Joseph Tremoulet 3fd917d886 Support Linux signal return trampolines in frame initialization
Summary:
Add __kernel_rt_sigreturn to the list of trap handlers for Linux (it's
used as such on aarch64 at least), and __restore_rt as well (used on
x86_64).

Skip decrement-and-recompute for trap handlers in
InitializeNonZerothFrame, as signal dispatch may point the child frame's
return address to the start of the return trampoline.

Parse the 'S' flag for signal handlers from eh_frame augmentation, and
propagate it to the unwind plan.

Reviewers: labath, jankratochvil, compnerd, jfb, jasonmolenda

Reviewed By: jasonmolenda

Subscribers: clayborg, MaskRay, wuzish, nemanjai, kbarton, jrtc27, atanasyan, jsji, javed.absar, kristof.beyls, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D63667

llvm-svn: 366580
2019-07-19 14:05:55 +00:00
..
ARM Support Linux signal return trampolines in frame initialization 2019-07-19 14:05:55 +00:00
ARM64 Support Linux signal return trampolines in frame initialization 2019-07-19 14:05:55 +00:00
MIPS Support Linux signal return trampolines in frame initialization 2019-07-19 14:05:55 +00:00
MIPS64 Support Linux signal return trampolines in frame initialization 2019-07-19 14:05:55 +00:00
PPC64 Support Linux signal return trampolines in frame initialization 2019-07-19 14:05:55 +00:00
CMakeLists.txt [LLDB] Initial version of PPC64 InstEmulation 2018-02-27 18:42:46 +00:00