stdcall lib functions with exception throwing callbacks vs Dwarf2 EH
Richard Henderson
rth@redhat.com
Wed Nov 24 00:47:00 GMT 2004
On Wed, Nov 24, 2004 at 11:27:11AM +1300, Danny Smith wrote:
> Before I pull any more hair out trying, does any one have any hints on
> how to use an MD_FALLBACK_FRAME_STATE_FOR to workaround ...
That would be wrong.
I think the most likely explanation is that there's a bug in the
dwarf2 generator for stdcall functions with -fomit-frame-pointer,
and the problem should be attacked there.
If you've got a call that takes 12 bytes of arguments on the stack
and pop them on return, then the unwind info should look like
# DW_CFA_GNU_args_size 12
call foo
# DW_CFA_def_cfa_offset <previous value - 12>
r~
More information about the Gcc
mailing list