[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] problem with ms_abi on x86-64
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] problem with ms_abi on x86-64 |
Date: |
Tue, 24 May 2011 08:45:10 -0700 |
On Tue, May 24, 2011 at 8:18 AM, <address@hidden> wrote:
>
> Summary
> =======
>
> libunwind is not correctly unwinding through frames for
> functions annotated with the __attribute__((ms_abi)).
The set of regs known to libunwind on x64 are in
include/libunwind_x86_64.h (look for x86_64_regnum_t). I'm not very
familiar with the microsoft calling conventions or gcc's
interpretation of it.
It looks like gcc is using dwarf regs 23-32 for xmm6-xmm15. If all
you need to do is teach libunwind about these extra regs numbers in a
simple patch, we could consider it for the upcoming release. Anything
more complex is too late in the game.
-Arun