[Bug translator/25549] Systemtap unable to find many probe points available in code compiled with LTO enable
wcohen at redhat dot com
sourceware-bugzilla@sourceware.org
Mon May 4 20:18:29 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=25549
--- Comment #2 from William Cohen <wcohen at redhat dot com> ---
The eu-readelf --debug-dump=info output of the non-lto and lto versions of the
reproducer show one difference that is maybe be tripping up systemtap.
On non-lto:
[ 2f1] subprogram abbrev: 16
external (flag_present) yes
name (strp) "main"
decl_file (data1) pr25549.cxx (1)
decl_line (data1) 3
decl_column (data1) 5
type (ref4) [ 61]
low_pc (addr) 0x0000000000401040 <main>
high_pc (data8) 21 (0x0000000000401055
<.annobin_static_reloc.c_end.hot>)
frame_base (exprloc)
[ 0] call_frame_cfa
GNU_all_call_sites (flag_present) yes
sibling (ref4) [ 357]
on lto one, no low_pc, high_pc:
[ 36e] subprogram abbrev: 16
external (flag_present) yes
name (strp) "main"
decl_file (data1) pr25549.cxx (7)
decl_line (data1) 3
decl_column (data1) 5
type (ref4) [ de]
sibling (ref4) [ 397]
Comparing the execution of the working non-LTO and the non-working LTO it
looks like the following line tapset.cxx:2403 returns nothing to iterate over,
so no lines are reported for the LTO version of the code :
auto bfis = q->filtered_all();
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list