summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/ManagedStatic.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-19 18:18:23 +0000
committerZachary Turner <zturner@google.com>2014-06-19 18:18:23 +0000
commit9c9710eaf4c1f01b8b518bdba89aba059ab14175 (patch)
tree62137c6de6dbe0a54e3f8d6aa80d8392b51ad5c7 /llvm/unittests/Support/ManagedStatic.cpp
parent778268df57bd65ba7befa2229a91e2ae56d07b3a (diff)
downloadbcm5719-llvm-9c9710eaf4c1f01b8b518bdba89aba059ab14175.tar.gz
bcm5719-llvm-9c9710eaf4c1f01b8b518bdba89aba059ab14175.zip
Remove support for LLVM runtime multi-threading.
After a number of previous small iterations, the functions llvm_start_multithreaded() and llvm_stop_multithreaded() have been reduced essentially to no-ops. This change removes them entirely. Reviewed by: rnk, dblaikie Differential Revision: http://reviews.llvm.org/D4216 llvm-svn: 211287
Diffstat (limited to 'llvm/unittests/Support/ManagedStatic.cpp')
-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