[PATCH] D15041: [compiler-rt] Remove SANITIZER_AARCH64_VMA usage

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 05:30:06 PST 2015


dvyukov added inline comments.

================
Comment at: test/tsan/race_on_heap.cc:31
@@ +30,3 @@
+  fprintf(stderr, "addr=");
+  print_address(p);
+  fprintf(stderr, "\n");
----------------
This is quite clumsy.

Please change print_format to always print "name=ptr\n" and so that name is function argument:

print_address("addr", p);

This will cover most of cases, and simplify the rest.



http://reviews.llvm.org/D15041





More information about the llvm-commits mailing list