Implement an undocumented _US_FORCE_UNWIND state for force
unwinding.
Details
Diff Detail
Event Timeline
src/cxa_personality.cpp | ||
---|---|---|
1107 ↗ | (On Diff #18338) | Why do you need to clear the forced flag? |
src/cxa_personality.cpp | ||
---|---|---|
1105 ↗ | (On Diff #18338) | Why not add this to the public interface in include/unwind.h? If we're matching the behavior between gcc's unwinder, then perhaps it makes sense to 'advertise' that fact. |
1112 ↗ | (On Diff #18338) | can the state ever be set to just _US_FORCE_UNWIND? Also, continue_unwind() takes three parameters now... can you rebase this patch? |
src/cxa_personality.cpp | ||
---|---|---|
1112 ↗ | (On Diff #18338) | Also, nevermind about the rebase. I see that you've changed the signature of this function in a different patch in the series. |
src/cxa_personality.cpp | ||
---|---|---|
1105 ↗ | (On Diff #18338) | Thanks. I have moved this flag to unwind.h. |
1106 ↗ | (On Diff #18338) | Thanks. Removed. |
1107 ↗ | (On Diff #18338) | Some explaination on this: Although _Unwind_Backtrace() only uses one of the case, it is required to implement the personality for both _US_VIRTUAL_UNWIND_FRAME and _US_UNWIND_FRAME_STARTING cases. p.s. The later case is used by _Unwind_ForcedUnwind(). However, it is not working yet. I am debugging at the moment. |
Recover the previous patch set.
This differential is incorrectly covered by incorrect patch set.