https://bugs.kde.org/show_bug.cgi?id=413603

            Bug ID: 413603
           Summary: callgrind_annotate truncates function names at '#'
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: callgrind
          Assignee: josef.weidendor...@gmx.de
          Reporter: ar...@linux.ibm.com
  Target Milestone: ---

If a C++ function name contains a substring like "{lambda()#1}",
callgrind_annotate truncates it at the '#' and uses the truncated name for
further processing.  This can cause different functions to be merged, resulting
in additional corruption.

The problem exists because callgrind_annotate treats '#' as a comment marker
anywhere on an input line and removes the "comment" before further processing. 
However, according to the format documentation, a comment must be on its own
line, so a '#' in the middle of a line should *not* be treated as a comment
marker.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to