[PATCH] D114466: cfi: fix more -Wformat warnings
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 12:48:52 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG187d9979f22e: cfi: fix more -Wformat warnings (authored by dim).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114466/new/
https://reviews.llvm.org/D114466
Files:
compiler-rt/lib/cfi/cfi.cpp
Index: compiler-rt/lib/cfi/cfi.cpp
===================================================================
--- compiler-rt/lib/cfi/cfi.cpp
+++ compiler-rt/lib/cfi/cfi.cpp
@@ -230,7 +230,7 @@
}
if (symtab > strtab) {
- VReport(1, "Can not handle: symtab > strtab (%p > %zx)\n", symtab, strtab);
+ VReport(1, "Can not handle: symtab > strtab (%zx > %zx)\n", symtab, strtab);
return 0;
}
@@ -250,7 +250,7 @@
if (phdr_idx == info->dlpi_phnum) {
// Nope, either different segments or just bogus pointers.
// Can not handle this.
- VReport(1, "Can not handle: symtab %p, strtab %zx\n", symtab, strtab);
+ VReport(1, "Can not handle: symtab %zx, strtab %zx\n", symtab, strtab);
return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114466.389598.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/de510099/attachment.bin>
More information about the llvm-commits
mailing list