Rename TU names to not conflict with libc++.
In order to easily merge libc++ and libc++abi static archives it's important
that none of the source files share the same name.
(See http://stackoverflow.com/questions/3821916/how-to-merge-two-ar-static-libraries-into-one)
This patch renames source files which share a name with libc++ sources.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@287327 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e6bd381..efbea67 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,6 @@
# Get sources
set(LIBCXXABI_SOURCES
- abort_message.cpp
+ # C++ABI files
cxa_aux_runtime.cpp
cxa_default_handlers.cpp
cxa_demangle.cpp
@@ -11,11 +11,14 @@
cxa_unexpected.cpp
cxa_vector.cpp
cxa_virtual.cpp
- exception.cpp
+ # C++ STL files
+ stdlib_exception.cpp
+ stdlib_stdexcept.cpp
+ stdlib_typeinfo.cpp
+ # Internal files
+ abort_message.cpp
fallback_malloc.cpp
private_typeinfo.cpp
- stdexcept.cpp
- typeinfo.cpp
)
if (LIBCXXABI_ENABLE_EXCEPTIONS)