llvm-project/lldb/tools/lldb-test
Jonas Devlieghere e089b5e9e1 [lldb] Call os_log_fault on lldb_assert
Call `os_log_fault` when an lldb assert fails. We piggyback off
`LLVM_SUPPORT_XCODE_SIGNPOSTS`, which also depends on `os_log`, to avoid
having to introduce another CMake check and corresponding define.

This patch also adds a small test using lldb-test that verifies we abort
with a "regular" assertion when asserts are enabled.

Differential revision: https://reviews.llvm.org/D98987
2021-03-19 14:23:50 -07:00
..
CMakeLists.txt [lldb] Get rid of helper CMake variables for Python 2020-08-17 08:47:52 -07:00
FormatUtil.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatUtil.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
SystemInitializerTest.cpp [lldb] Fix shared library directory computation on windows 2021-02-18 15:37:52 +01:00
SystemInitializerTest.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-test.cpp [lldb] Call os_log_fault on lldb_assert 2021-03-19 14:23:50 -07:00