J
James Kuyper
I compile with http://llvm.org/demo/index.cgi
and it call:
__cxa_allocate_exception
__cxa_throw
__cxa_begin_catch
__cxa_end_catch
how it call in own program?
I've found documentation for those functions at
<http://libcxxabi.llvm.org/spec.html>, though I didn't dig into the
documentation in any depth. However, given the way that they're nbamed
and the fact that they're identified as being part of libc++, I would
make two guesses:
1) you might not need to call those functions explicitly when compiling
for C++, the calls might be generated automatically by the compiler in
connection with throw() and catch() constructs.
2) it might not be safe to call them from C.
However, those are just guesses - only someone actually familiar with
llvm could address those issue authoritatively. So ask your question in
a forum devoted to llvm.