[compiler-rt] [NFC] Fix format specifier (PR #138563)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Mon May 5 11:33:39 PDT 2025
https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/138563
None
>From 9bda5720edd56fb20845e6ad5ba6139b7967958a Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Mon, 5 May 2025 11:33:15 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
compiler-rt/lib/hwasan/hwasan_report.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
More information about the llvm-commits
mailing list