[lldb] [test] Make 2lwp_process_SIGSEGV test more portable
authorMichal Gorny <mgorny@gentoo.org>
Sun, 10 Mar 2019 09:50:36 +0000 (09:50 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Sun, 10 Mar 2019 09:50:36 +0000 (09:50 +0000)
commit369a011cee0779973849a8283fb5d1bdc2e3cb90
treef2e69ad3f6898e7bbf294c3829a2d5d03b7d2150
parenta2b144fc7402573872808553c8e870da610b415a
[lldb] [test] Make 2lwp_process_SIGSEGV test more portable

Fix 2lwp_process_SIGSEGV NetBSD core test to terminate inside regular
function rather than libc call, in order to get reproducible backtrace
on different platforms.

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

llvm-svn: 355786
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/2lwp_process_SIGSEGV.amd64
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/2lwp_process_SIGSEGV.amd64.core
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/2lwp_process_SIGSEGV.c
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py