This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [discuss] Re: [patches] Re: x86_64 frame unwind info
On Wed, Oct 17, 2001 at 02:29:59PM -0700, Richard Henderson wrote:
> On Wed, Oct 17, 2001 at 11:21:26PM +0200, Jan Hubicka wrote:
> > There is demand to allow standard way of stack unwinding of the code.
> > To my understanding this is mostly to allow Java runtimes garbage collect
> > non-conservativly in the JITs (they needs to see trought the C code to the
> > JIT compiled stack frames to track down the references).
>
> But that requirement is very different from a requirement for a
> particular encoding, as asserted by Andi.
[as far as I understand it the goal in the x86-64 abi was to standardize it,
to make up for the lack of a frame pointer]
> What you actually want is extensions to libgcc's EH traversal that
> allow you to walk the stack without actually changing machine state.
> I would be most happy to add such a thing.
That would require making libgcc part of the x86-64 ABI.
-Andi