This is the mail archive of the dwarf2@corp.sgi.com mailing list for the dwarf2 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: dwarf: marking exit points


On Fri, Nov 05, 2004 at 03:02:43PM -0500, Jason Merrill wrote:
> A coworker recently asked if the compiler could provide information about
> function exit points (returns, tail calls, ...) for instrumentation
> purposes.  This seemed to me like something we *could* put in the unwind
> info; thoughts?
> 

There's a DW_LNS_set_epilogue_begin, which one could use to find the start of
an epilogue.  If that isn't close enough, like if you were doing timings in
the instrumentation and needed to count every last nanosecond, then it
wouldn't be much of a stretch to add a DW_LNS_set_epilogue_end or
DW_LNS_set_exit.

-- 
Todd Allen
Concurrent Computer Corporation


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