debuginfo changes
- Reply: Paul Floyd : "Re: debuginfo changes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Feb 2024 20:15:06 UTC
Hi I recently upgraded from FreeBSD 13.2 to 14.0 amd64. I'm getting one new Valgrind regression test failure that seems to be related to DWARF debuginfo. The changes are partly better, partly worse. Here is an example from the diff Uninitialised byte(s) found during client check request at 0x........: croak (tests/varinfo5so.c:29) - by 0x........: bar3 (tests/varinfo5so.c:97) by 0x........: foo3 (tests/varinfo5so.c:110) - by 0x........: varinfo3_main (tests/varinfo5so.c:118) by 0x........: varinfo5_main (tests/varinfo5so.c:156) by 0x........: main (tests/varinfo5.c:5) - Address 0x........ is on thread 1's stack - in frame #X, created by foo3 (varinfo5so.c:101) + Location 0x........ is 0 bytes inside nonstatic_local_undef[8], + declared at varinfo5so.c:105, in frame #X of thread 1 The good bit it at the end. Valgrind has found the variable name rather than just saying it is on the stack. The bad bit is the missing lines in the callstack. They are due to inline functions. Does anyone have any information as to what might have changed between clang 14.0.5 and 16.0.6? A+ Paul