summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-08-10 13:47:17 +0000
committerEd Maste <emaste@freebsd.org>2017-08-10 13:47:17 +0000
commit5e82ca353df1ce08974ab7cd5a9c29b0e742bb7a (patch)
tree2b6a2516521042ee116474a83b709b29cba71f3c /lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv
parentfa66a340eb750bc72a813d92d6c6898c091c07cb (diff)
downloadbcm5719-llvm-5e82ca353df1ce08974ab7cd5a9c29b0e742bb7a.tar.gz
bcm5719-llvm-5e82ca353df1ce08974ab7cd5a9c29b0e742bb7a.zip
Report inferior signals as signals, not exceptions, on FreeBSD
This is the FreeBSD equivalent of r238549. This serves 2 purposes: * LLDB should handle inferior process signals SIGSEGV/SIGILL/SIGBUS/ SIGFPE the way it is suppose to be handled. Prior to this fix these signals will neither create a coredump, nor exit from the debugger or work for signal handling scenario. * eInvalidCrashReason need not report "unknown crash reason" if we have a valid si_signo llvm.org/pr23699 Patch by Karnajit Wangkhem Differential Revision: https://reviews.llvm.org/D35223 llvm-svn: 310591
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py b/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py
index 16681fdbcde..97de99640f5 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py
@@ -18,9 +18,6 @@ class HandleSegvTestCase(TestBase):
@skipIfWindows # signals do not exist on Windows
@skipIfDarwin
- @expectedFailureAll(
- oslist=['freebsd'],
- bugnumber="llvm.org/pr23699 SIGSEGV is reported as exception, not signal")
def test_inferior_handle_sigsegv(self):
self.build()
exe = os.path.join(os.getcwd(), "a.out")
OpenPOWER on IntegriCloud