Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1055276: Valgrind does not read properly DWARF5 as generated by Clang14

164 views
Skip to first unread message

Mathieu Malaterre

unread,
Nov 3, 2023, 8:20:05 AM11/3/23
to
Source: valgrind
Version: 1:3.19.0-1

valgrind does not handle clang 14 and up.

% valgrind ./works2
==171243== Memcheck, a memory error detector
==171243== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==171243== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==171243== Command: ./works2
==171243==
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x1b
==171243== Valgrind: debuginfo reader: ensure_valid failed:
==171243== Valgrind: during call to ML_(img_get)
==171243== Valgrind: request for range [450185478, +4) exceeds
==171243== Valgrind: valid image size of 554564 for image:
==171243== Valgrind: "/home/mathieu/Perso/gcc-110622/pr111231/works2"
==171243==
==171243== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==171243== Valgrind: I can't recover. Giving up. Sorry.
==171243==
0 new messages