[Dwarf-Discuss] DW_AT_external and class public functions
eager at eagercon.com
Tue Aug 3 10:11:14 PDT 2010
P J P wrote:
> 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,
Michael Eager eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Dwarf-Discuss