[compiler-rt] [win/asan] Avoid warnings in interception_win.cpp. (PR #118143)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 08:07:48 PST 2024


================
@@ -418,7 +418,7 @@ static void *AllocateTrampolineRegion(uptr min_addr, uptr max_addr,
   ReportError(
       "interception_win: AllocateTrampolineRegion failed to find free memory; "
       "min_addr: %p, max_addr: %p, func_addr: %p, granularity: %zu\n",
-      (void *)min_addr, (void *)max_addr, granularity);
+      (void *)min_addr, (void *)max_addr, (void *)func_addr, granularity);
----------------
zmodem wrote:

Oops. Nice find :)

https://github.com/llvm/llvm-project/pull/118143


More information about the llvm-commits mailing list