Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: third_party/libc++abi/src/cxa_aux_runtime.cpp

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 //===------------------------ cxa_aux_runtime.cpp -------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //
9 // This file implements the "Auxiliary Runtime APIs"
10 // http://www.codesourcery.com/public/cxx-abi/abi-eh.html#cxx-aux
11 //===----------------------------------------------------------------------===//
12
13 #include "cxxabi.h"
14 #include <typeinfo>
15
16 namespace __cxxabiv1
17 {
18
19 extern "C"
20 {
21
22 LIBCXXABI_NORETURN
23 void __cxa_bad_cast (void) {
24 throw std::bad_cast();
25 }
26
27 LIBCXXABI_NORETURN
28 void __cxa_bad_typeid(void) {
29 throw std::bad_typeid();
30 }
31
32 } // extern "C"
33
34 } // abi
OLDNEW
« no previous file with comments | « third_party/libc++abi/src/abort_message.cpp ('k') | third_party/libc++abi/src/cxa_default_handlers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698