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: [CFT] re-organize var-tracking frame_base


On Tue, Sep 13, 2005 at 08:37:30PM -0400, John David Anglin wrote:
> Could you explain this change?  I thought at one time we needed these
> fudges.

Well, they're wrong, for one.  They claim that a store has happened
before it actually does, so if you care about 100% accurate unwind
info (for debugging or garbage collection or such), then this is a bug.

Second the code in dwarf2out is intended to be able to track things
such as this.  Removing these hacks results in -- at least for the
simple cases I examined -- a DW_CFA_register op indicating that frame
pointer has been copied to r1, followed by a DW_CFA_offset op indicating
that the frame pointer has been stored to the stack.


r~


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