Minor libc++abi changes to make things build better with gcc.

llvm-svn: 211748
This commit is contained in:
Nico Weber 2014-06-25 23:55:37 +00:00
parent e9012b035c
commit 49f09fd88a
3 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@
#include <new>
#include <exception>
#include "abort_message.h"
#include "config.h" // For __sync_swap
#include "cxxabi.h"
#include "cxa_handlers.hpp"
#include "cxa_exception.hpp"

View File

@ -4893,8 +4893,8 @@ struct Db
} // unnamed namespace
__attribute__ ((__visibility__("default")))
extern "C"
__attribute__ ((__visibility__("default")))
char*
__cxa_demangle(const char* mangled_name, char* buf, size_t* n, int* status)
{

View File

@ -14,6 +14,7 @@
#include <new>
#include <exception>
#include "abort_message.h"
#include "config.h"
#include "cxxabi.h"
#include "cxa_handlers.hpp"
#include "cxa_exception.hpp"