commit | fe4bc3c0f2454361f34b3dbe791e42094c22c465 | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Fri Mar 19 14:20:26 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 25 13:36:24 2021 -0700 |
tree | f4eb471f1c1949e6ea97f505fd1db09f8060f4f0 | |
parent | ca319b043ea23dac3a79c61c74725dd1c671ed00 [diff] |
[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 GitOrigin-RevId: e089b5e9e11a61be0a11378f8df9af806807bddc