Roger
From: Michael Eager
To: Roger Cruz
Cc: "gcc@gcc.gnu.org" ; "dwarf-disc...@lists.dwarfstd.org"
Sent: Wednesday, June 6, 2012 1:27 PM
Subject: Re: Fw: Extending calling convention information in DWARF output for
x86
On 06/06/2012 09:28 AM, Roger Cruz wrote:
On 06/06/2012 09:28 AM, Roger Cruz wrote:
Hi Michael,
Thanks for replying to my questions.
What I like to obtain somehow is the calling convention of each routine so
I can tell who is responsible for cleaning off the stack. Two calling
> conventions of interest to me are: _stdcall and _cdecl
offset: 0x117d6): name
<267c9> DW_AT_decl_file : 2
<267ca> DW_AT_decl_line : 216
<267cb> DW_AT_type : <0x1a509>
<267cf> DW_AT_location : 2 byte block: 91 74 (DW_OP_fbreg: -12)
How can the above information be u
On 06/06/2012 06:40 AM, Roger Cruz wrote:
Adding dwarf-discuss@ to CC.
I am interested in parsing DWARF debug output in order to know the calling
convention of each
function. Reading the spec for DWARF-4, I can see that there is an attribute
DW_AT_calling_convention but its only defined valu
I am interested in parsing DWARF debug output in order to know the calling
convention of each function. Reading the spec for DWARF-4, I can see that
there is an attribute DW_AT_calling_convention but its only defined values are
(pg 52):
DW_CC_normal
DW_CC_program
DW_CC_nocall
The spec als