[compiler-rt] [NFC] Fix format specifier (PR #138563)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 5 11:34:16 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Florian Mayer (fmayer)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/138563.diff
1 Files Affected:
- (modified) compiler-rt/lib/hwasan/hwasan_report.cpp (+1-1)
``````````diff
diff --git a/compiler-rt/lib/hwasan/hwasan_report.cpp b/compiler-rt/lib/hwasan/hwasan_report.cpp
index bc66e6e805c91..5bdc4f63b8834 100644
--- a/compiler-rt/lib/hwasan/hwasan_report.cpp
+++ b/compiler-rt/lib/hwasan/hwasan_report.cpp
@@ -761,7 +761,7 @@ void BaseReport::PrintHeapOrGlobalCandidate() const {
if (sym->SymbolizeData(candidate.untagged_addr, &info) && info.start) {
Printf(
"%p is located %zd bytes %s a %zd-byte global variable "
- "%s [%p,%p) in %s\n",
+ "%s [%zd,%zd) in %s\n",
untagged_addr,
candidate.after ? untagged_addr - (info.start + info.size)
: info.start - untagged_addr,
``````````
</details>
https://github.com/llvm/llvm-project/pull/138563
More information about the llvm-commits
mailing list