]> sourceware.org Git - systemtap.git/commit
dwflpp/prologue: use function's decl_line for older GCCs
authorJonathan Lebon <jlebon@redhat.com>
Wed, 26 Feb 2014 17:25:06 +0000 (12:25 -0500)
committerJonathan Lebon <jlebon@redhat.com>
Thu, 27 Feb 2014 19:01:50 +0000 (14:01 -0500)
commitac3d373592c56774e1e8731730063befb291f8f8
treeb6000411dee0d18812551447d45593b2a52c66d9
parenta43d3fbfdd210884540b048d0a033792a3811468
dwflpp/prologue: use function's decl_line for older GCCs

This patch restores a heuristic we previously used, which worked well in
previous versions of GCC. In a nutshell, decl_line is now meaningless
for determining prologue ends, but for versions of GCC prior to 4.4.0,
it can be useful since it represents the lineno of '{', which should be
the same lineno as the entrypc, otherwise we consider it naked.
dwflpp.cxx
This page took 0.027906 seconds and 5 git commands to generate.