summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-16 22:40:17 +0000
committerZachary Turner <zturner@google.com>2014-06-16 22:40:17 +0000
commit0f2c641f865b60afbb0739bc85974c923dc5862a (patch)
treedce6c29c4f8960e9db1407b75e00ff17dc018fb6 /llvm/unittests
parentb344f057d0557e11b1535a45af2346b7cd8c4184 (diff)
downloadbcm5719-llvm-0f2c641f865b60afbb0739bc85974c923dc5862a.tar.gz
bcm5719-llvm-0f2c641f865b60afbb0739bc85974c923dc5862a.zip
Remove some more code out into a separate CL.
llvm-svn: 211067
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/Support/ManagedStatic.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Support/ManagedStatic.cpp b/llvm/unittests/Support/ManagedStatic.cpp
index ad2fc977e6d..153884ba429 100644
--- a/llvm/unittests/Support/ManagedStatic.cpp
+++ b/llvm/unittests/Support/ManagedStatic.cpp
@@ -47,7 +47,6 @@ TEST(Initialize, MultipleThreads) {
void *p1 = test1::allocate_stack(a1);
void *p2 = test1::allocate_stack(a2);
- llvm_start_multithreaded();
pthread_t t1, t2;
pthread_create(&t1, &a1, test1::helper, nullptr);
pthread_create(&t2, &a2, test1::helper, nullptr);
@@ -55,7 +54,6 @@ TEST(Initialize, MultipleThreads) {
pthread_join(t2, nullptr);
free(p1);
free(p2);
- llvm_stop_multithreaded();
}
#endif
OpenPOWER on IntegriCloud