[compiler-rt] c0e7f64 - [NFC][gotsan] Fix 'format' error

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 01:18:49 PDT 2020


Author: Vitaly Buka
Date: 2020-09-18T01:17:54-07:00
New Revision: c0e7f64685789520ad732d9dd6bf388dc916e518

URL: https://github.com/llvm/llvm-project/commit/c0e7f64685789520ad732d9dd6bf388dc916e518
DIFF: https://github.com/llvm/llvm-project/commit/c0e7f64685789520ad732d9dd6bf388dc916e518.diff

LOG: [NFC][gotsan] Fix 'format' error

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
index 1e71d6512c1f..242ee159fdef 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
@@ -560,7 +560,7 @@ PtraceRegistersStatus SuspendedThreadsListLinux::GetRegistersAndSP(
                            &pterrno);
       if (fail) {
         VReport(1, "Could not get regset %p from thread %d (errno %d).\n",
-                regset, tid, pterrno);
+                (void *)regset, tid, pterrno);
         buffer->resize(size);
         return false;
       }


        


More information about the llvm-commits mailing list