diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-11-30 19:43:03 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-11-30 19:43:03 +0000 |
commit | 0c487bca5d972e4d58765f453d2f3c255d63164f (patch) | |
tree | a543942c3cab185cae1337d1f386c2a9a3737919 /test/tsan/global_race2.cc | |
parent | 8804cdf9e3e5ff844878245d8eda56116de37e3a (diff) |
[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
Diffstat (limited to 'test/tsan/global_race2.cc')
-rw-r--r-- | test/tsan/global_race2.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/tsan/global_race2.cc b/test/tsan/global_race2.cc index 5c29a78c7..95dff1997 100644 --- a/test/tsan/global_race2.cc +++ b/test/tsan/global_race2.cc @@ -11,9 +11,7 @@ void *Thread(void *a) { int main() { barrier_init(&barrier, 2); - fprintf(stderr, "addr2="); - print_address(&x); - fprintf(stderr, "\n"); + print_address("addr2=", 1, &x); pthread_t t; pthread_create(&t, 0, Thread, 0); x = 0; |