About DWARF DW_AT_external

Ian Lance Taylor iant@google.com
Thu Jul 29 09:17:00 GMT 2010


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



More information about the Gcc-help mailing list