From 0c487bca5d972e4d58765f453d2f3c255d63164f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 30 Nov 2015 19:43:03 +0000 Subject: [compiler-rt] Remove SANITIZER_AARCH64_VMA usage This patch complete removed SANITIZER_AARCH64_VMA definition and usage. AArch64 ports now supports runtime VMA detection and instrumentation for 39 and 42-bit VMA. It also Rewrite print_address to take a variadic argument list (the addresses to print) and adjust the tests which uses it to the new signature. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254319 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tsan/mop_with_offset.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/tsan/mop_with_offset.cc') diff --git a/test/tsan/mop_with_offset.cc b/test/tsan/mop_with_offset.cc index c67e81e09..e2496d099 100644 --- a/test/tsan/mop_with_offset.cc +++ b/test/tsan/mop_with_offset.cc @@ -18,8 +18,8 @@ void *Thread2(void *x) { int main() { barrier_init(&barrier, 2); int *data = new int(42); - fprintf(stderr, "ptr1=%p\n", data); - fprintf(stderr, "ptr2=%p\n", (char*)data + 2); + print_address("ptr1=", 1, data); + print_address("ptr2=", 1, (char*)data + 2); pthread_t t[2]; pthread_create(&t[0], NULL, Thread1, data); pthread_create(&t[1], NULL, Thread2, data); -- cgit v1.2.3