diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2021-03-19 14:20:26 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2021-03-19 14:23:50 -0700 |
commit | e089b5e9e11a61be0a11378f8df9af806807bddc (patch) | |
tree | ff54fbb7f9eb2f023d0e6129a0101d6898345339 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 0de3d1c81428c2a7a4f9a23a5105aa2243fad778 (diff) | |
download | llvm-e089b5e9e11a61be0a11378f8df9af806807bddc.zip llvm-e089b5e9e11a61be0a11378f8df9af806807bddc.tar.gz llvm-e089b5e9e11a61be0a11378f8df9af806807bddc.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions