Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsiri Rathnayake <asiri.rathnayake@arm.com>2016-10-13 18:05:19 +0300
committerAsiri Rathnayake <asiri.rathnayake@arm.com>2016-10-13 18:05:19 +0300
commit6d3ea6831d6fe30683d6b5078ad826fdedc2e946 (patch)
tree92f3fb6daa13e34459ba54f27f5bad8da3099793 /libcxxabi/src/cxa_exception.cpp
parent85874a9360334ddb9619aca6344b8ee53296fa1e (diff)
[libcxxabi] Refactor pthread usage into a separate API
This patch refactors all pthread uses of libc++abi into a separate API. This is the first step towards supporting an externlly-threaded libc++abi library. I've followed the conventions already used in the libc++ library for the same purpose. Patch from: Saleem Abdulrasool and Asiri Rathnayake Reviewed by: compnerd, EricWF Differential revisions: https://reviews.llvm.org/D18482 (original) https://reviews.llvm.org/D24864 (final) llvm-svn: 284128
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r--libcxxabi/src/cxa_exception.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp
index 757b3d4558ca..f84c0e840658 100644
--- a/libcxxabi/src/cxa_exception.cpp
+++ b/libcxxabi/src/cxa_exception.cpp
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "config.h"
+#include "threading_support.h"
#include "cxxabi.h"
#include <exception> // for std::terminate