backtrace() vs. _Unwind_Backtrace()

David Mosberger davidm@napali.hpl.hp.com
Fri Dec 5 05:36:00 GMT 2003


>>>>> On Fri, 5 Dec 2003 18:17:30 +1300, Bryce McKinlay <bryce@mckinlay.net.nz> said:

  Bryce> DWARF EH was previously enabled for Win32, but problems
  Bryce> occurred where exceptions need to be thrown through OS
  Bryce> callback frames (that don't have unwind info), which is a
  Bryce> common requirement for Win32 code, so it uses SJLJ exceptions
  Bryce> for now. So, it would need a way to unwind through info-less
  Bryce> OS frames so that the DWARF unwinder can resume unwinding on
  Bryce> the other side (ie a generalized
  Bryce> MD_FALLBACK_FRAME_STATE_FOR).

Ah, I see, so Windows/x86 does use DWARF2 unwind info, but its
incomplete.  Nasty.

	--david



More information about the Java mailing list