This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] PR debug/63240 Add DWARF representation for C++11 defaulted member function.


On 10/07/2014 09:36 AM, Siva Chandra wrote:
Barring some incompleteness, for which patches are very close to
getting committed, I believe GDB has the rest of the information.

Interesting. It is still the case that defaulting in the class is different from defaulting outside the class, though; a function defaulted outside the class is user-provided, and therefore not trivial. But rather than encode "defaulted in the class body" (as Mark's initial patch) I'd prefer to just encode "trivial".

DW_AT_artificial is for things not actually declared in the source, so using it for explicitly declared functions is incorrect.

Jason


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