diff options
author | Kostya Serebryany <kcc@google.com> | 2014-11-12 18:23:16 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-11-12 18:23:16 +0000 |
commit | 283adf0016867d7896fd3b054c51a1f4636ad3f0 (patch) | |
tree | 3e234f9e67249856684240b794902eab29ce6daa /lib/sanitizer_common/sanitizer_printf.cc | |
parent | 9977784c8d76a032beff2511d57d28472c0d7767 (diff) |
[asan] [mips] added support of asan for mips64/mips64el, patch by Kumar Sukhani
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_printf.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_printf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_printf.cc b/lib/sanitizer_common/sanitizer_printf.cc index 494f1315d..3be6723cd 100644 --- a/lib/sanitizer_common/sanitizer_printf.cc +++ b/lib/sanitizer_common/sanitizer_printf.cc @@ -113,7 +113,7 @@ static int AppendPointer(char **buff, const char *buff_end, u64 ptr_value) { int result = 0; result += AppendString(buff, buff_end, -1, "0x"); result += AppendUnsigned(buff, buff_end, ptr_value, 16, - (SANITIZER_WORDSIZE == 64) ? 12 : 8, true); + SANITIZER_POINTER_FORMAT_LENGTH, true); return result; } |