[compiler-rt] cd4ffbe - lsan-rt: silence a -Wformat-pedantic
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 07:37:58 PDT 2023
Author: Jon Roelofs
Date: 2023-05-16T07:24:54-07:00
New Revision: cd4ffbe0ff1f03639ddb8e1c7addcdd52503c61d
URL: https://github.com/llvm/llvm-project/commit/cd4ffbe0ff1f03639ddb8e1c7addcdd52503c61d
DIFF: https://github.com/llvm/llvm-project/commit/cd4ffbe0ff1f03639ddb8e1c7addcdd52503c61d.diff
LOG: lsan-rt: silence a -Wformat-pedantic
Added:
Modified:
compiler-rt/lib/lsan/lsan_mac.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/lsan/lsan_mac.cpp b/compiler-rt/lib/lsan/lsan_mac.cpp
index 2bcd0057f24b0..990954a8b6879 100644
--- a/compiler-rt/lib/lsan/lsan_mac.cpp
+++ b/compiler-rt/lib/lsan/lsan_mac.cpp
@@ -80,7 +80,7 @@ extern "C" void lsan_dispatch_call_block_and_release(void *block) {
VReport(2,
"lsan_dispatch_call_block_and_release(): "
"context: %p, pthread_self: %p\n",
- block, pthread_self());
+ block, (void*)pthread_self());
lsan_register_worker_thread(context->parent_tid);
// Call the original dispatcher for the block.
context->func(context->block);
More information about the llvm-commits
mailing list