[llvm] d63860a - [JITLink] Fix bogus format string.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue May 11 16:04:27 PDT 2021
Author: Lang Hames
Date: 2021-05-11T16:04:00-07:00
New Revision: d63860a05226d89f840a665134e2cb52c30ce4c4
URL: https://github.com/llvm/llvm-project/commit/d63860a05226d89f840a665134e2cb52c30ce4c4
DIFF: https://github.com/llvm/llvm-project/commit/d63860a05226d89f840a665134e2cb52c30ce4c4.diff
LOG: [JITLink] Fix bogus format string.
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp b/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
index c753205dc5de..cb1bb80373dc 100644
--- a/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
@@ -93,7 +93,7 @@ const char *getScopeName(Scope S) {
raw_ostream &operator<<(raw_ostream &OS, const Block &B) {
return OS << formatv("{0:x16}", B.getAddress()) << " -- "
<< formatv("{0:x8}", B.getAddress() + B.getSize()) << ": "
- << "size = " << formatv("{0:8x}", B.getSize()) << ", "
+ << "size = " << formatv("{0:x8}", B.getSize()) << ", "
<< (B.isZeroFill() ? "zero-fill" : "content")
<< ", align = " << B.getAlignment()
<< ", align-ofs = " << B.getAlignmentOffset()
More information about the llvm-commits
mailing list