diff options
author | Thurston Dang <thurston.dang@gmail.com> | 2024-02-23 09:53:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 09:53:55 -0800 |
commit | 0673fb6e773b0a37802208be4f666cef1f6b3470 (patch) | |
tree | 84cf54ba3b9c541840675dc6d760f99297f3ef1a | |
parent | dfa1d9b027e677cf1379dffee0059261a34f3481 (diff) | |
download | llvm-0673fb6e773b0a37802208be4f666cef1f6b3470.zip llvm-0673fb6e773b0a37802208be4f666cef1f6b3470.tar.gz llvm-0673fb6e773b0a37802208be4f666cef1f6b3470.tar.bz2 |
[hwasan] Add missing printf parameter in __hwasan_handle_longjmp (#82559)
The diagnostic message had four format specifiers but only three
parameters. This patch adds what I assume to be the missing
parameter.
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/hwasan/hwasan.cpp b/compiler-rt/lib/hwasan/hwasan.cpp index 52780be..ccdc0b4 100644 --- a/compiler-rt/lib/hwasan/hwasan.cpp +++ b/compiler-rt/lib/hwasan/hwasan.cpp @@ -692,7 +692,7 @@ void __hwasan_handle_longjmp(const void *sp_dst) { "WARNING: HWASan is ignoring requested __hwasan_handle_longjmp: " "stack top: %p; target %p; distance: %p (%zd)\n" "False positive error reports may follow\n", - (void *)sp, (void *)dst, dst - sp); + (void *)sp, (void *)dst, dst - sp, dst - sp); return; } TagMemory(sp, dst - sp, 0); |