[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
backtrace and demangling symbols at runtime
From: |
address@hidden |
Subject: |
backtrace and demangling symbols at runtime |
Date: |
11 May 2006 23:43:31 -0700 |
User-agent: |
G2/0.2 |
Hi..
I'm using __cxxabiv1::__cxa_demangle() function to demangle the symbols
obtained by backtrace_symbols(). This works almost fine. However, can
somebody explain what does the symbol __gxx_personality_v0 mean?
Consider this example:
class A
{
public:
A() {}
};
class B
{
public:
B() {}
private:
A a;
};
int main()
{
B b;
return 0;
}
Note that class A is implemented in a shared library linked dynamically
to my example. I see the backtrace from A's constructor, but I don't
see anything about B, the backtrace looks like this:
(stuff called from A's constructor)
A::A
__gxx_personality_v0
__gxx_personality_v0
__libc_start_main
__gxx_personality_v0
So my problem is I don't see where A is created from.
Can somebody enlighten me?
Thanks.
- backtrace and demangling symbols at runtime,
address@hidden <=