This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Call os_log_fault on lldb_assert
ClosedPublic

Authored by JDevlieghere on Mar 19 2021, 2:01 PM.

Details

Reviewers
aprantl
Group Reviewers
Restricted Project
Commits
rGe089b5e9e11a: [lldb] Call os_log_fault on lldb_assert
Summary

Call os_log_fault when an lldb assert fails. We piggyback off of the LLVM_SUPPORT_XCODE_SIGNPOSTS to for os_log support rather than introducing another check and define just for this. This patch also adds a small test using lldb-test.

Diff Detail

Event Timeline

JDevlieghere requested review of this revision.Mar 19 2021, 2:01 PM
JDevlieghere created this revision.
aprantl accepted this revision.Mar 19 2021, 2:15 PM
This revision is now accepted and ready to land.Mar 19 2021, 2:15 PM
This revision was landed with ongoing or failed builds.Mar 19 2021, 2:23 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 2:23 PM
Harbormaster completed remote builds in B94786: Diff 331997.