[PATCH] Force unwind frame with user-defined personality.
tzuhsiang.chien at gmail.com
Sat Jan 17 00:07:59 PST 2015
Hi danalbert, rengolin, jroelofs,
If libcxxabi is compiled as a shared library, and the
executable references the user-defined personality routines
(e.g. __gxx_personality_v0), then the pointer comparison in
Unwind-EHABI.cpp won't work. This is due to the fact that
the PREL31 will point to the PLT stubs for the personality
routines (in the executable), while the __gxx_personality_v0
symbol reference is yet another (different) PLT stub (in the
This will cause _Unwind_Backtrace() stops to unwind the frame
whenever it reaches __gxx_personality_v0(). This CL fix the
problem by calling the user-defined personality routines
with an undocumented API for force unwinding.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5736 bytes
Desc: not available
More information about the cfe-commits