[Dwarf-Discuss] DW_AT_external and class public functions

Michael Eager eager@eagercon.com
Tue Aug 3 17:11:14 GMT 2010


P J P wrote:
> Hi,
> 
> I need to confirm if the DW_AT_external flag should be set for the
> public/protected functions of a C++ class?
> 
> I guess not, because though public, such functions are not accessible without
> a class object, unlike regular non-member functions.

DW_AT_external is set for functions which may be referenced
outside of the current compilation.  Member functions can be
referenced outside of the current file.

C++ public/private/protected are restrictions on inheritance,
not reference.

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




More information about the Dwarf-discuss mailing list