summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-04 08:39:50 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-04 08:39:50 +0000
commit56b88a4a513c67ec753bd347cddfd7dfaf24db54 (patch)
treefeb87c7e33520eee814e47f7542a1392beade47c /test
parente2bc261e483ca8fe4669626ba06f0d8404a55cf1 (diff)
[msan] Fix compilation of a disabled test.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/msan/dtls_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/msan/dtls_test.c b/test/msan/dtls_test.c
index c88e50f1d..79cc0b83d 100644
--- a/test/msan/dtls_test.c
+++ b/test/msan/dtls_test.c
@@ -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];
}