]> sourceware.org Git - systemtap.git/commitdiff
PR6941: also skip prologue search for function(NUM) probes
authorJonathan Lebon <jlebon@redhat.com>
Fri, 28 Feb 2014 18:57:38 +0000 (13:57 -0500)
committerJonathan Lebon <jlebon@redhat.com>
Fri, 28 Feb 2014 19:00:11 +0000 (14:00 -0500)
Whoops! That should have been part of the previous commit as well.

tapsets.cxx

index 7eaaf48645ae96228d65d48d32c7dbeec4851354..af6af0690e51fb6e15ab02a3390c14ebae89974c 100644 (file)
@@ -1463,7 +1463,8 @@ query_addr(Dwarf_Addr addr, dwarf_query *q)
       if (!dw.die_entrypc(fnscope, &addr))
         return;
       if (dwarf_tag(fnscope) == DW_TAG_subprogram &&
-          (q->sess.prologue_searching || q->has_process)) // PR 6871
+          (q->sess.prologue_searching ||
+           (q->has_process && !q->dw.has_valid_locs()))) // PR 6871 && PR 6941
         {
           func_info func;
           func.die = *fnscope;
This page took 0.052283 seconds and 5 git commands to generate.