Skip to content

Commit a94b511

Browse files
committed
ctfdwdiff: Don't ask for variables and inline expansions in pfunct
As we won't find them in CTF land... I also have to add a new pfunct cmdline option to ask for inline functions not to be printed, as they aren't on the symtab. Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 6afe884 commit a94b511

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ctfdwdiff

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ diff_tool() {
88
local ctf_options=$3
99
local obj=$4
1010

11-
diff=$results_dir/$obj.diff
12-
ctf=$results_dir/$obj.ctf.c
13-
dwarf=$results_dir/$obj.dwarf.c
11+
diff=$results_dir/$obj.$tool.diff
12+
ctf=$results_dir/$obj.$tool.ctf.c
13+
dwarf=$results_dir/$obj.$tool.dwarf.c
1414
$tool -F ctf $ctf_options $obj > $ctf
1515
$tool -F dwarf $dwarf_options $obj > $dwarf
1616
diff -up $dwarf $ctf > $diff
1717
if [ -s $diff ] ; then
18-
[ $# -gt 4 ] && vim $results_dir/$obj.diff
18+
[ $# -gt 4 ] && vim $diff
1919
exit 0
2020
else
2121
rm -f $diff $ctf $dwarf
@@ -25,7 +25,7 @@ diff_tool() {
2525
diff_one() {
2626
local obj=$1
2727
diff_tool "pahole" "--flat_arrays --show_private_classes --fixup_silly_bitfields" " " $obj $2
28-
diff_tool "pfunct" "-TVi --no_parm_names" "-TVi" $obj $2
28+
diff_tool "pfunct" "-V --no_parm_names" "-V" $obj $2
2929
}
3030

3131

0 commit comments

Comments
 (0)