[PATCH]: Add support for outputting dwarf2 location lists

Jason Merrill jason_merrill@redhat.com
Thu Apr 19 16:41:00 GMT 2001


>>>>> "Daniel" == Daniel Berlin <dan@www.cgsoftware.com> writes:

> On 19 Apr 2001, Jason Merrill wrote:

>> Please add the 2.1 support soon; otherwise this is of limited utility for
>> C++, since we often have functions in other sections.

> Well, here's the thing.
> I was going to add it before submitting it, since it's not all that
> difficult, but i noticed that the low_pc and high_pc attributes are always
> based on the text section label as well.

Er, yes.  What else would they be based on?
Note that they are never generated if there are functions in other
sections, as specified by the standard.

> Once I saw that, i didn't see much point in doing it right away, since if
> you had a function in a seperate place, it wouldn't work anyway.

Why not?

Jason



More information about the Gcc-patches mailing list