This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: About DWARF DW_AT_external
- From: Ian Lance Taylor <iant at google dot com>
- To: P J P <pj dot pandit at yahoo dot co dot in>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 29 Jul 2010 01:25:43 -0700
- Subject: Re: About DWARF DW_AT_external
- References: <436570.15667.qm@web94901.mail.in2.yahoo.com>
P J P <pj.pandit@yahoo.co.in> writes:
> As I understand, the DWARF tag DW_AT_external is meant to indicate
> whether a variable/function is accessible from outside the compilation
> unit(object file) containing the given dwarf DIE(Debugging Information
> Entry), right?
>
> Or does it mean that the respective variable/function is defined
> outside of the compilation unit(object file) containing the dwarf DIE?
The former. It is attached to a definition to mean that the definition
is externally visible.
Ian