[llvm] 9c79548 - [libc++abi] Remove empty source file cxa_unexpected.cpp

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 08:18:53 PDT 2020


Author: Louis Dionne
Date: 2020-06-30T11:18:26-04:00
New Revision: 9c795481e2e318a906cc7826aa0144aaaa8cd3dd

URL: https://github.com/llvm/llvm-project/commit/9c795481e2e318a906cc7826aa0144aaaa8cd3dd
DIFF: https://github.com/llvm/llvm-project/commit/9c795481e2e318a906cc7826aa0144aaaa8cd3dd.diff

LOG: [libc++abi] Remove empty source file cxa_unexpected.cpp

Added: 
    

Modified: 
    libcxxabi/src/CMakeLists.txt
    llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn

Removed: 
    libcxxabi/src/cxa_unexpected.cpp


################################################################################
diff  --git a/libcxxabi/src/CMakeLists.txt b/libcxxabi/src/CMakeLists.txt
index d5251acdca38..42bec421d2be 100644
--- a/libcxxabi/src/CMakeLists.txt
+++ b/libcxxabi/src/CMakeLists.txt
@@ -7,7 +7,6 @@ set(LIBCXXABI_SOURCES
   cxa_exception_storage.cpp
   cxa_guard.cpp
   cxa_handlers.cpp
-  cxa_unexpected.cpp
   cxa_vector.cpp
   cxa_virtual.cpp
   # C++ STL files

diff  --git a/libcxxabi/src/cxa_unexpected.cpp b/libcxxabi/src/cxa_unexpected.cpp
deleted file mode 100644
index bbfa6684efa7..000000000000
--- a/libcxxabi/src/cxa_unexpected.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-//===------------------------- cxa_unexpected.cpp -------------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-#include <exception>
-#include "cxxabi.h"
-#include "cxa_exception.h"
-
-namespace __cxxabiv1
-{
-
-extern "C"
-{
-
-}
-
-}  // namespace __cxxabiv1
-

diff  --git a/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn b/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
index 44712caf4d01..8d43581c3669 100644
--- a/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
@@ -30,7 +30,6 @@ cxxabi_sources = [
   "cxa_exception_storage.cpp",
   "cxa_guard.cpp",
   "cxa_handlers.cpp",
-  "cxa_unexpected.cpp",
   "cxa_vector.cpp",
   "cxa_virtual.cpp",
 


        


More information about the llvm-commits mailing list