forked from OSchip/llvm-project
parent
3c355aa24d
commit
39477c4c8b
|
@ -32,13 +32,13 @@
|
|||
#ifdef __cplusplus
|
||||
|
||||
namespace std {
|
||||
class type_info; // forward declaration
|
||||
class type_info; // forward declaration
|
||||
}
|
||||
|
||||
|
||||
// runtime routines use C calling conventions, but are in __cxxabiv1 namespace
|
||||
namespace __cxxabiv1 {
|
||||
extern "C" {
|
||||
extern "C" {
|
||||
|
||||
// 2.4.2 Allocating the Exception Object
|
||||
extern void * __cxa_allocate_exception(size_t thrown_size) throw();
|
||||
|
@ -92,7 +92,7 @@ extern void* __cxa_vec_new(size_t element_count,
|
|||
size_t element_size,
|
||||
size_t padding_size,
|
||||
void (*constructor)(void*),
|
||||
void (*destructor)(void*) );
|
||||
void (*destructor)(void*));
|
||||
|
||||
extern void* __cxa_vec_new2(size_t element_count,
|
||||
size_t element_size,
|
||||
|
@ -100,7 +100,7 @@ extern void* __cxa_vec_new2(size_t element_count,
|
|||
void (*constructor)(void*),
|
||||
void (*destructor)(void*),
|
||||
void* (*alloc)(size_t),
|
||||
void (*dealloc)(void*) );
|
||||
void (*dealloc)(void*));
|
||||
|
||||
extern void* __cxa_vec_new3(size_t element_count,
|
||||
size_t element_size,
|
||||
|
@ -108,60 +108,52 @@ extern void* __cxa_vec_new3(size_t element_count,
|
|||
void (*constructor)(void*),
|
||||
void (*destructor)(void*),
|
||||
void* (*alloc)(size_t),
|
||||
void (*dealloc)(void*, size_t) );
|
||||
void (*dealloc)(void*, size_t));
|
||||
|
||||
extern void __cxa_vec_ctor(void* array_address,
|
||||
size_t element_count,
|
||||
size_t element_size,
|
||||
void (*constructor)(void*),
|
||||
void (*destructor)(void*) );
|
||||
|
||||
void (*destructor)(void*));
|
||||
|
||||
extern void __cxa_vec_dtor(void* array_address,
|
||||
size_t element_count,
|
||||
size_t element_size,
|
||||
void (*destructor)(void*) );
|
||||
|
||||
void (*destructor)(void*));
|
||||
|
||||
extern void __cxa_vec_cleanup(void* array_address,
|
||||
size_t element_count,
|
||||
size_t element_size,
|
||||
void (*destructor)(void*) );
|
||||
|
||||
void (*destructor)(void*));
|
||||
|
||||
extern void __cxa_vec_delete(void* array_address,
|
||||
size_t element_size,
|
||||
size_t padding_size,
|
||||
void (*destructor)(void*) );
|
||||
|
||||
void (*destructor)(void*));
|
||||
|
||||
extern void __cxa_vec_delete2(void* array_address,
|
||||
size_t element_size,
|
||||
size_t padding_size,
|
||||
void (*destructor)(void*),
|
||||
void (*dealloc)(void*) );
|
||||
|
||||
void (*dealloc)(void*));
|
||||
|
||||
extern void __cxa_vec_delete3(void* __array_address,
|
||||
size_t element_size,
|
||||
size_t padding_size,
|
||||
void (*destructor)(void*),
|
||||
void (*dealloc) (void*, size_t));
|
||||
|
||||
void (*dealloc)(void*, size_t));
|
||||
|
||||
extern void __cxa_vec_cctor(void* dest_array,
|
||||
void* src_array,
|
||||
size_t element_count,
|
||||
size_t element_size,
|
||||
void (*constructor) (void*, void*),
|
||||
void (*destructor)(void*) );
|
||||
|
||||
void (*constructor)(void*, void*),
|
||||
void (*destructor)(void*));
|
||||
|
||||
// 3.3.5.3 Runtime API
|
||||
extern int __cxa_atexit(void (*f)(void*), void* p, void* d);
|
||||
extern int __cxa_finalize(void*);
|
||||
|
||||
|
||||
// 3.4 Demangler API
|
||||
extern char* __cxa_demangle(const char* mangled_name,
|
||||
char* output_buffer,
|
||||
|
|
Loading…
Reference in New Issue