Instead of only using __verbose_abort to handle assertions, also use
it to handle exceptions thrown under -fno-exceptions and when
std::unreachable() is called. This will provide a strictly better
user experience in these cases, since we will provide additional
information in the logs over a simple std::abort().
Details
Details
- Reviewers
- None
- Group Reviewers
Restricted Project
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
libcxx/include/__filesystem/filesystem_error.h | ||
---|---|---|
94 | Might as well remove _VSTD while you're at it. | |
libcxx/include/__verbose_abort | ||
59 | I don't think file and line are useful here. They will just be the file and line of the throw wrapper. | |
67 | Why do you have this as an extra macro? It's used in just a single place. |
Might as well remove _VSTD while you're at it.