From ed0dbe1a64a80dc329daab3776bda9d3fa54c9f8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 26 Mar 2020 22:41:26 -0400 Subject: add libc++ and libc++abi sources upstream: LLVM 10 --- lib/libcxx/src/stdexcept.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/libcxx/src/stdexcept.cpp (limited to 'lib/libcxx/src/stdexcept.cpp') diff --git a/lib/libcxx/src/stdexcept.cpp b/lib/libcxx/src/stdexcept.cpp new file mode 100644 index 0000000000..f8f335f34a --- /dev/null +++ b/lib/libcxx/src/stdexcept.cpp @@ -0,0 +1,19 @@ +//===------------------------ stdexcept.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 "stdexcept" +#include "new" +#include "string" +#include "system_error" + + +#ifdef _LIBCPP_ABI_VCRUNTIME +#include "support/runtime/stdexcept_vcruntime.ipp" +#else +#include "support/runtime/stdexcept_default.ipp" +#endif -- cgit v1.2.3