[Lldb-commits] [PATCH] D63667: Support __kernel_rt_sigreturn in frame initialization

Joseph Tremoulet via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 21 13:23:54 PDT 2019


JosephTremoulet created this revision.
JosephTremoulet added reviewers: labath, jankratochvil, compnerd.
Herald added subscribers: kristof.beyls, javed.absar.
Herald added a reviewer: jfb.
Herald added a project: LLDB.

Add __kernel_rt_sigreturn to the list of trap handlers for Linux (it's
used as such on aarch64 at least).

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63667

Files:
  lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-abrt/Makefile
  lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-abrt/TestHandleAbort.py
  lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-abrt/main.c
  lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
  lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63667.206062.patch
Type: text/x-patch
Size: 6744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190621/7069ca92/attachment-0001.bin>


More information about the lldb-commits mailing list