mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
callgrind_annotate: fix warnings with "--collect-jumps=yes"
This callgrind option produces lines starting e.g. with "jfi" in the profile data files, which specifies a source file change between a jump source and jump target. This itself is meaningless for callgrind_annotate, as it can not show jump information in its annotation. However, such "jfi" lines can contain important mapping info for a (file ID, file name) tuple - which leads to further warnings and problems if ignored. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6064
This commit is contained in:
parent
3d5d7da0a5
commit
2d6c37778b
@ -634,6 +634,16 @@ sub read_input_file()
|
||||
} elsif (s/^(jump|jcnd)=//) {
|
||||
#ignore jump information
|
||||
|
||||
} elsif (s/^jfi=(.*)$//) {
|
||||
# side effect needed: possibly add compression mapping
|
||||
uncompressed_name("fl",$1);
|
||||
# ignore jump information
|
||||
|
||||
} elsif (s/^jfn=(.*)$//) {
|
||||
# side effect needed: possibly add compression mapping
|
||||
uncompressed_name("fn",$1);
|
||||
# ignore jump information
|
||||
|
||||
} elsif (s/^totals:\s+//) {
|
||||
#ignore
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user