This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

[Bug translator/6941] better prologue heuristics needed for userspace (non-regparm)


https://sourceware.org/bugzilla/show_bug.cgi?id=6941

Jonathan Lebon <jlebon at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jlebon at redhat dot com
         Resolution|---                         |FIXED

--- Comment #4 from Jonathan Lebon <jlebon at redhat dot com> ---
> With gcc VTA, prologue searching at -O2 is becoming unnecessary.  However,
> at -O0 it is becoming essential, for gcc does not run VTA processing at -O0,
> and the dwarf location list data it emits is only accurate in the
> post-prologue section.  So we need to figure out whether the given target
> executable was built with -O0, and then perform proper prologue search
> heuristics.

The code now runs the prologue searching heuristics only for programs that were
not optimized (or for which there may be reasons to believe location info in
their prologues may be unreliable, such as in older GCC versions). See also the
related PR13420.

Commits 277a2b9 and b5b9879.

-- 
You are receiving this mail because:
You are the assignee for the bug.


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