summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_posix.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-06-06 10:46:00 +0000
committerAlexey Samsonov <samsonov@google.com>2012-06-06 10:46:00 +0000
commit461820ad67f057daaadd4a6071a606fef6c32289 (patch)
treef2452054bf77683cbb29b28a32a434cd86f152e0 /compiler-rt/lib/asan/asan_posix.cc
parentac4c290d029146fdadcba235899c398830a6bba6 (diff)
downloadbcm5719-llvm-461820ad67f057daaadd4a6071a606fef6c32289.tar.gz
bcm5719-llvm-461820ad67f057daaadd4a6071a606fef6c32289.zip
[ASan] Make printf arguments match format strings better.
llvm-svn: 158059
Diffstat (limited to 'compiler-rt/lib/asan/asan_posix.cc')
-rw-r--r--compiler-rt/lib/asan/asan_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_posix.cc b/compiler-rt/lib/asan/asan_posix.cc
index 48de79395c5..34e2bd75f9c 100644
--- a/compiler-rt/lib/asan/asan_posix.cc
+++ b/compiler-rt/lib/asan/asan_posix.cc
@@ -88,7 +88,7 @@ static void ASAN_OnSIGSEGV(int, siginfo_t *siginfo, void *context) {
GetPcSpBp(context, &pc, &sp, &bp);
Report("ERROR: AddressSanitizer crashed on unknown address %p"
" (pc %p sp %p bp %p T%d)\n",
- addr, pc, sp, bp,
+ (void*)addr, (void*)pc, (void*)sp, (void*)bp,
asanThreadRegistry().GetCurrentTidOrMinusOne());
Printf("AddressSanitizer can not provide additional info. ABORTING\n");
GET_STACK_TRACE_WITH_PC_AND_BP(kStackTraceMax, pc, bp);
OpenPOWER on IntegriCloud