[llvm-commits] [test-suite] r121339 - in /test-suite/trunk/SingleSource: Regression/C/2010-12-08-tls.c Regression/C/2010-12-08-tls.reference_output UnitTests/Threads/2010-12-08-tls.c UnitTests/Threads/2010-12-08-tls.reference_output
Eric Christopher
echristo at apple.com
Wed Dec 8 16:56:25 PST 2010
Author: echristo
Date: Wed Dec 8 18:56:25 2010
New Revision: 121339
URL: http://llvm.org/viewvc/llvm-project?rev=121339&view=rev
Log:
Move this here where it's gated by a check for whether or not TLS is
supported.
Added:
test-suite/trunk/SingleSource/UnitTests/Threads/2010-12-08-tls.c
- copied unchanged from r121332, test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c
test-suite/trunk/SingleSource/UnitTests/Threads/2010-12-08-tls.reference_output
- copied unchanged from r121327, test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output
Removed:
test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c
test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output
Removed: test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c?rev=121338&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c (original)
+++ test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c (removed)
@@ -1,13 +0,0 @@
-#include <stdio.h>
-
-__thread int a = 4;
-
-int foo (void)
-{
- return a;
-}
-
-int main (void) {
- printf("a is %d\n", foo());
- return 0;
-}
Removed: test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output?rev=121338&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output (original)
+++ test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output (removed)
@@ -1,2 +0,0 @@
-a is 4
-exit 0
More information about the llvm-commits
mailing list