[lsan] [aarch64] Fix printing of pointers in make check tests - update
authorStrahinja Petrovic <strahinja.petrovic@rt-rk.com>
Mon, 14 Nov 2016 11:40:56 +0000 (11:40 +0000)
committerStrahinja Petrovic <strahinja.petrovic@rt-rk.com>
Mon, 14 Nov 2016 11:40:56 +0000 (11:40 +0000)
commitf10d114d4340ff8c8f68e9b424268c7b531e59b3
treefa96ec550fa0e3bc96ef1d1fa2c4dc93ef5f49a4
parentf603672b5c98b958cc4114f0eeefde3a47168b63
[lsan] [aarch64] Fix printing of pointers in make check tests - update

This patch replaces fprintf with print_address function in LSAN
tests. This is necessary because of different printing of pointers
in fprintf and sanitizer's print function.
Differential Revision: https://reviews.llvm.org/D26084.

llvm-svn: 286816
20 files changed:
compiler-rt/test/lsan/TestCases/cleanup_in_tsd_destructor.c
compiler-rt/test/lsan/TestCases/large_allocation_leak.cc
compiler-rt/test/lsan/TestCases/pointer_to_self.cc
compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
compiler-rt/test/lsan/TestCases/use_after_return.cc
compiler-rt/test/lsan/TestCases/use_globals_initialized.cc
compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cc
compiler-rt/test/lsan/TestCases/use_poisoned_asan.cc
compiler-rt/test/lsan/TestCases/use_registers.cc
compiler-rt/test/lsan/TestCases/use_stacks.cc
compiler-rt/test/lsan/TestCases/use_stacks_threaded.cc
compiler-rt/test/lsan/TestCases/use_tls_dynamic.cc
compiler-rt/test/lsan/TestCases/use_tls_pthread_specific_dynamic.cc
compiler-rt/test/lsan/TestCases/use_tls_pthread_specific_static.cc
compiler-rt/test/lsan/TestCases/use_tls_static.cc
compiler-rt/test/lsan/TestCases/use_unaligned.cc
compiler-rt/test/lsan/lit.common.cfg
compiler-rt/test/sanitizer_common/print_address.h [new file with mode: 0644]
compiler-rt/test/tsan/lit.cfg
compiler-rt/test/tsan/test.h