This is the mail archive of the dwarf2@corp.sgi.com mailing list for the dwarf2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PROPOSAL: Permit AT_location with AT_declaration


Todd Allen wrote:
> 

> Also, maybe you could argue that the DW_AT_external for the first "x" should
> be omitted, given that it's a non-defining declaration and presumably there's
> already a defining declaration at global scope.

Perhaps you might review the C language specification at some point.
I'll refer you to section 6.7.2 External Object Definitions.  (I'm 
referring to a working draft; the paragraph number may have subsequently
changed.)

A declaration of "x", as in the example, is a defining declaration 
at global scope.

-- 
Michael Eager	 Eager Consulting     eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]