[PATCH] [Tsan] Make the user_fopen.cc and user_malloc.cc tests Linux-specific

Alexander Potapenko glider at google.com
Wed Oct 8 06:09:21 PDT 2014


LGTM

================
Comment at: test/tsan/Linux/user_fopen.cc:5
@@ +4,3 @@
+
+// defined by tsan.
+extern "C" FILE *__interceptor_fopen(const char *file, const char *mode);
----------------
s/defined/Defined

================
Comment at: test/tsan/Linux/user_malloc.cc:4
@@ +3,3 @@
+
+// defined by tsan.
+extern "C" void *__interceptor_malloc(unsigned long size);
----------------
pls change s/defined/Defined while you're at it.

http://reviews.llvm.org/D5670






More information about the llvm-commits mailing list