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: PR debug/7081: emit DW_TAG_class_type and DW_TAG_interface_type


Alexandre Oliva <aoliva@redhat.com> writes:

> We've long output C++ classes and Java classes and interfaces as
> DW_TAG_structure_type.  This patch fixes it, with a different approach
> from the one proposed at
> http://gcc.gnu.org/ml/gcc-patches/2003-06/msg01748.html
> 
> Instead of moving the declared-as-class bit from C++ into common
> trees, it introduces a langhook to let the language decide what is a
> class, what is an interface and what is a structure.

Offhand, I don't see how that could work with LTO.  Since we need to
add new functionality regardless, I'd rather see something which we
can support in LTO.

Ian


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