[libc-commits] [PATCH] D155899: [libc] Fix line reporting in assertion failure
Jon Chesterfield via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Jul 20 15:43:31 PDT 2023
JonChesterfield added a comment.
Unrelated to this, but I'm surprised assert lowers to eight calls to write_to_stderr and some runtime number conversion. I expected it to concatenate the strings and do the line number -> string conversion at preprocessor time, resolving to a single call to write_to_stderr with a compile time constant string literal.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155899/new/
https://reviews.llvm.org/D155899
More information about the libc-commits
mailing list