diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-06-06 10:46:00 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-06-06 10:46:00 +0000 |
commit | 461820ad67f057daaadd4a6071a606fef6c32289 (patch) | |
tree | f2452054bf77683cbb29b28a32a434cd86f152e0 /compiler-rt/lib/asan/asan_posix.cc | |
parent | ac4c290d029146fdadcba235899c398830a6bba6 (diff) | |
download | bcm5719-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.cc | 2 |
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); |