summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/exception.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-11-18 09:54:49 +0000
committerEric Fiselier <eric@efcs.ca>2016-11-18 09:54:49 +0000
commite9c9f002d7c6873653d15f185a3956116ac1548f (patch)
treea2727616a8d92dfb92f88244df0b11b6f42eaa50 /libcxxabi/src/exception.cpp
parentb96e809c7f5e6147fdbdecd728ec0b5bd5d42443 (diff)
downloadbcm5719-llvm-e9c9f002d7c6873653d15f185a3956116ac1548f.tar.gz
bcm5719-llvm-e9c9f002d7c6873653d15f185a3956116ac1548f.zip
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. llvm-svn: 287327
Diffstat (limited to 'libcxxabi/src/exception.cpp')
-rw-r--r--libcxxabi/src/exception.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/libcxxabi/src/exception.cpp b/libcxxabi/src/exception.cpp
deleted file mode 100644
index c47a9b76266..00000000000
--- a/libcxxabi/src/exception.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-//===---------------------------- exception.cpp ---------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include <exception>
-
-#pragma GCC visibility push(default)
-
-namespace std
-{
-
-// exception
-
-exception::~exception() _NOEXCEPT
-{
-}
-
-const char* exception::what() const _NOEXCEPT
-{
- return "std::exception";
-}
-
-// bad_exception
-
-bad_exception::~bad_exception() _NOEXCEPT
-{
-}
-
-const char* bad_exception::what() const _NOEXCEPT
-{
- return "std::bad_exception";
-}
-
-} // std
-
-#pragma GCC visibility pop
OpenPOWER on IntegriCloud