]> sourceware.org Git - systemtap.git/commitdiff
Ignore symtab descriptors and undefined symbols
authorJosh Stone <jistone@redhat.com>
Tue, 9 Sep 2014 18:54:47 +0000 (11:54 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 9 Sep 2014 18:54:47 +0000 (11:54 -0700)
These were already ignored for direct matches (commit 2867a2a13d186),
but we should also skip them in the wildcard-matching loop.

Noted in PR17360 by the a.out+0 warning for "__libc_start_main".

tapsets.cxx

index b6b871e63f808d2e8144d0fcd9327b913596b090..eda0e3c937da791270a68daf6976362da5e248ef 100644 (file)
@@ -1108,8 +1108,9 @@ dwarf_query::query_module_symtab()
                ++iter)
             {
               fi = iter->second;
-              if (!null_die(&fi->die))
-                continue;       // already handled in query_module_dwarf()
+              if (!null_die(&fi->die) // already handled in query_module_dwarf()
+                  || fi->descriptor) // ppc opd (and also undefined symbols)
+                continue;
               if (dw.function_name_matches_pattern(fi->name, function_str_val))
                 query_symtab_func_info(*fi, this);
             }
This page took 0.045578 seconds and 5 git commands to generate.