Add bound violation handling for Intel(R) Memory Protection Extensions (Intel(R)...
authorValentina Giusti <valentina.giusti@intel.com>
Thu, 6 Oct 2016 18:05:12 +0000 (18:05 +0000)
committerValentina Giusti <valentina.giusti@intel.com>
Thu, 6 Oct 2016 18:05:12 +0000 (18:05 +0000)
commit6f8c1f8da7640438bb19a2d40b6b75742a161b9b
treeab13270b5211014569f04fb3af86c42714413074
parentd0a4db76324e40e38a23429c07eda76f9f26a153
Add bound violation handling for Intel(R) Memory Protection Extensions (Intel(R) MPX)

Summary:
This patch adds support for handling the SIGSEGV signal with 'si_code ==
SEGV_BNDERR', which is thrown when a bound violation is caught by the
Intel(R) MPX technology.

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

llvm-svn: 283474
lldb/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/main.cpp [new file with mode: 0644]
lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
lldb/source/Plugins/Process/POSIX/CrashReason.cpp
lldb/source/Plugins/Process/POSIX/CrashReason.h