summaryrefslogtreecommitdiff
path: root/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
commitaedb5523d288ccc22c2119dc13ed61593bd25ee5 (patch)
tree2a70e22c08873a5022359c6a8517e57756226acb /unittests
parent9be5c8ca6bb5c91cbc23e24d8703a8e140d68397 (diff)
downloadllvm-aedb5523d288ccc22c2119dc13ed61593bd25ee5.tar.gz
llvm-aedb5523d288ccc22c2119dc13ed61593bd25ee5.tar.bz2
llvm-aedb5523d288ccc22c2119dc13ed61593bd25ee5.tar.xz
Remove some more code out into a separate CL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/ManagedStatic.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/unittests/Support/ManagedStatic.cpp b/unittests/Support/ManagedStatic.cpp
index ad2fc977e6..153884ba42 100644
--- a/unittests/Support/ManagedStatic.cpp
+++ b/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