From cb80c24385f76c159175a738a46802b0890b6705 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 27 Nov 2023 16:50:00 +0100 Subject: [PATCH] Build workflow: request that clang produce DWARF v4 debug symbols. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4f0a8365..e31294774 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,9 @@ jobs: - container_tag: bookworm_amd64 configure_flags: '--enable-debug' - container_tag: bookworm_amd64 - configure_flags: 'CC=clang CXX=clang++' + # By default clang emits DWARF v5, which Valgrind cannot read yet. + # https://github.com/llvm/llvm-project/issues/56550 + configure_flags: 'CC=clang CXX=clang++ CFLAGS=-gdwarf-4' env: CONFIGURE_FLAGS: ${{ matrix.configure_flags }} # this env var picked up by valgrind during make check phase -- 2.47.2