]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Improve line info tracing, in particular when using lto.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 18 Feb 2020 20:35:44 +0000 (21:35 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 3 Mar 2020 19:02:33 +0000 (20:02 +0100)
commit5920eb0c4302015f3648354e4f9c059f899194b7
treebf080eea28956a8d9125f8759bc43a023bc65adb
parentdb07db4c8706d17124a621a254bee1b6f08d2e1d
Improve line info tracing, in particular when using lto.

With gcc 9 and --enable-lto, we now have spurious warnings telling
that the line information in the debug info has huge line numbers,
greater than the (valgrind) maximum of 2^20.

These spurious warnings make that all tests are failing.

This change modifies the tracing/debugging of the line info to:
  * disable by default the warning for line info greater than 2^20.
    When using -d, such warnings are however still shown (once).
  * allow to see all such warnings, when using at least -d -d -d -d
coregrind/m_debuginfo/storage.c