469782 Valgrind does not support zstd-compressed debug sections
497130 Recognize new DWARF5 DW_LANG constants
497455 Update drd/scripts/download-and-build-gcc
+497723 Enabling Ada demangling breaks callgrind differentiation between
+ overloaded functions and procedures
To see details of a given bug, visit
https://bugs.kde.org/show_bug.cgi?id=XXXXXX
ann1.post.exp ann1.stderr.exp ann1.vgtest \
ann2.post.exp ann2.stderr.exp ann2.vgtest \
clreq.vgtest clreq.stderr.exp \
+ bug497723.stderr.exp bug497723.post.exp bug497723.vgtest \
simwork1.vgtest simwork1.stdout.exp simwork1.stderr.exp \
simwork2.vgtest simwork2.stdout.exp simwork2.stderr.exp \
simwork3.vgtest simwork3.stdout.exp simwork3.stderr.exp \
--- /dev/null
+cfn=(5164) ada__text_io__put_line
+cfn=(5160) _ada_main
--- /dev/null
+
+
+Events : Ir
+Collected :
+
+I refs:
--- /dev/null
+prog: ../../memcheck/tests/bug445235_ada_demangle
+vgopts: --callgrind-out-file=callgrind.out
+post: grep "cfn.*ada_" callgrind.out
+cleanup: rm callgrind.out
* For Ada demangling, the language doesn't use a regular
* prefix like _Z or _R, so look for a common symbol and
* set a global flag.
+ *
+ * https://bugs.kde.org/show_bug.cgi?id=497723 but not for
+ * callgrind because demangled overloaded manes get
+ * incorrectly counted together.
*/
- if (!isText && VG_(strcmp)(*names, "__gnat_ada_main_program_name") == 0) {
+ if (!isText && VG_(strcmp)(*names, "__gnat_ada_main_program_name") == 0 &&
+ VG_(strcmp)(VG_(clo_toolname), "callgrind") != 0) {
VG_(lang_is_ada) = True;
}
isGlobal = False;