[compiler-rt] r205613 - [msan] Fix compilation of a disabled test.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Apr 4 01:39:53 PDT 2014
Author: eugenis
Date: Fri Apr 4 03:39:50 2014
New Revision: 205613
URL: http://llvm.org/viewvc/llvm-project?rev=205613&view=rev
Log:
[msan] Fix compilation of a disabled test.
Modified:
compiler-rt/trunk/test/msan/dtls_test.c
Modified: compiler-rt/trunk/test/msan/dtls_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/dtls_test.c?rev=205613&r1=205612&r2=205613&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/dtls_test.c (original)
+++ compiler-rt/trunk/test/msan/dtls_test.c Fri Apr 4 03:39:50 2014
@@ -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];
}
More information about the llvm-commits
mailing list