diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-07-25 13:19:51 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-07-26 07:42:38 -0400 |
commit | 7de5aca84c541edd9f11b9316cb61c5f350ee724 (patch) | |
tree | 9d3d773e1c60523183453652dd29a6947b0af595 /llvm/lib/Bitcode/Reader | |
parent | 9566c4a682065105a653c4c148325671755faace (diff) | |
download | llvm-7de5aca84c541edd9f11b9316cb61c5f350ee724.zip llvm-7de5aca84c541edd9f11b9316cb61c5f350ee724.tar.gz llvm-7de5aca84c541edd9f11b9316cb61c5f350ee724.tar.bz2 |
[libc++] Generalize the customizeable assertion handler
Instead of taking a fixed set of arguments, use variadics so that
we can pass arbitrary arguments to the handler. This is the first
step towards using the handler to handle other non-assertion-related
failures, like std::unreachable and an exception being thrown in
-fno-exceptions mode, which would improve user experience by including
additional information in crashes (right now, we call abort() without
additional information).
Differential Revision: https://reviews.llvm.org/D130507
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions