Anton Korobeynikov anton at korobeynikov.info
Tue Feb 8 13:14:18 PST 2011


>   My understanding is that DWARF2_FRAME_REG_OUT existed on darwin
> because the register 4 (EBP) and register 5 (ESP) got swapped long ago
> and that macro existed because the eh_frame register numbering and the
> DWARF debug info registering numbering were different for those two.
> Was this issue FSF gcc specific or in the standards themselves?
The register numbering is platform-specific, so it's neither fsf gcc
nor standard specific.
We just emitting debug/eh info with different register numbers for
different platforms.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-dev mailing list