[msan] Fix compilation of a disabled test.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 4 Apr 2014 08:39:50 +0000 (08:39 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 4 Apr 2014 08:39:50 +0000 (08:39 +0000)
llvm-svn: 205613

compiler-rt/test/msan/dtls_test.c

index c88e50f..79cc0b8 100644 (file)
@@ -54,6 +54,7 @@ int main(int argc, char *argv[]) {
 }
 #else  // BUILD_SO
 __thread long huge_thread_local_array[1 << 17];
+extern "C"
 long *GetTls() {
   return &huge_thread_local_array[0];
 }