Abort signal handler may print aswell. Without new line it goes into the
same.
Details
Details
- Reviewers
ldionne philnik Mordante - Group Reviewers
Restricted Project - Commits
- rGc4bd5977f429: [libcxx] Add new line after assert message
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/src/verbose_abort.cpp | ||
---|---|---|
39 ↗ | (On Diff #490732) | would it be possible to add require the newline in the format of __libcpp_verbose_abort? If not I'm happy with this approach. |
libcxx/src/verbose_abort.cpp | ||
---|---|---|
39 ↗ | (On Diff #490732) |
\n is reasonable for stderr, but I am not sure if \n is appropriate for Apple and Android stuff below |
libcxx/src/verbose_abort.cpp | ||
---|---|---|
39 ↗ | (On Diff #490732) | I think it would be reasonable. I think I'd be happier with that approach too: ::std::__libcpp_verbose_abort("%s:%d: assertion %s failed: %s\n", __FILE__, __LINE__, #expression, message)) |