Comment 9 for bug 1995274

Revision history for this message
In , Pjfloyd (pjfloyd) wrote :

Here are my results with clang-devel (15.0.0) on FreeBSD 13.0.

== 757 tests, 15 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/amd64/insn-pmovmskb (stderr)
memcheck/tests/clientperm (stderr)
memcheck/tests/freebsd/static_allocs (stderr)
memcheck/tests/gone_abrt_xml (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/wrap6 (stdout)
helgrind/tests/tls_threads (stderr)
drd/tests/atomic_var (stderr)
drd/tests/omp_matinv (stdout)
drd/tests/omp_matinv (stderr)
drd/tests/omp_matinv_racy (stdout)
drd/tests/omp_matinv_racy (stderr)
drd/tests/omp_prime_racy (stderr)
drd/tests/omp_printf (stderr)
drd/tests/pth_mutex_signal (stderr)
none/tests/amd64/amd64locked (stdout)

Most of those fail with clang 11.0.1. There are a few extra OMP failes, but I doubt that they are related.

The extra failures are
memcheck/tests/freebsd/static_allocs
^^^ this does look like it could be dwarf related, seems to be failing to read the client stack for the errror

memcheck/tests/wrap6
^^^ missing wrap output

none/tests/amd64/amd64locked
^^^ difference in crc calculation in guest

However, none of the above uses dwarf5.

A small leaking C++ exe gives me
paulf> ../vg_llvm15/vg-in-place ./leak
==60775== Memcheck, a memory error detector
==60775== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==60775== Using Valgrind-3.20.0.GIT and LibVEX; rerun with -h for copyright info
==60775== Command: ./leak
==60775==
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x1b
==60775== Valgrind: debuginfo reader: ensure_valid failed:
==60775== Valgrind: during call to ML_(img_get)
==60775== Valgrind: request for range [86779272, +4) exceeds
==60775== Valgrind: valid image size of 15768 for image:
==60775== Valgrind: "/usr/home/paulf/scratch/vg_examples/leak"
==60775==
==60775== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==60775== Valgrind: I can't recover. Giving up. Sorry.