From: Louis Dionne Date: Tue, 30 Jun 2020 15:18:02 +0000 (-0400) Subject: [libc++abi] Remove empty source file cxa_unexpected.cpp X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c795481e2e318a906cc7826aa0144aaaa8cd3dd;p=platform%2Fupstream%2Fllvm.git [libc++abi] Remove empty source file cxa_unexpected.cpp --- diff --git a/libcxxabi/src/CMakeLists.txt b/libcxxabi/src/CMakeLists.txt index d5251ac..42bec42 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 bbfa6684..0000000 --- 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 -#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 44712ca..8d43581 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",