diff options
author | Michael Jones <michaelrj@google.com> | 2023-07-24 14:06:43 -0700 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2023-07-25 11:45:45 -0700 |
commit | 65fe1ac30a4cbca61fb2fcfb60a42aca3777758b (patch) | |
tree | 0b5ef07e4e60801b766080d44291e19b79fd96c8 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 488c3db245ce0fe3b70357d6798ee91c5baa82a2 (diff) | |
download | llvm-65fe1ac30a4cbca61fb2fcfb60a42aca3777758b.zip llvm-65fe1ac30a4cbca61fb2fcfb60a42aca3777758b.tar.gz llvm-65fe1ac30a4cbca61fb2fcfb60a42aca3777758b.tar.bz2 |
[libc][NFC] Simplify assert message generation
Previously displaying a failed assert would involve a runtime integer to
string conversion. This patch changes that to be a compile time string
conversion.
This was inspired by a comment by JonChesterfield on https://reviews.llvm.org/D155899
Reviewed By: lntue, sivachandra, JonChesterfield
Differential Revision: https://reviews.llvm.org/D156168
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions