On Thu, 3 Apr 2025 at 13:58, Rasmus Villemoes <r...@rasmusvillemoes.dk> wrote: > > In many setups, especially when CI and/or some meta-build system like > Yocto or buildroot, is involved, gcc ends up being invoked using > absolute path names, which are often long and uninteresting. > > That amounts to a lot of noise both when trying to decipher the > warning or error, when the warning text is copy-pasted to a commit > fixing the issue, or posted to a mailing list. [snip] > Removing the prefixes manually is tedious and error-prone. So similar > to the other f*-prefix-map options, provide an option allowing one to > strip/remap certain prefixes when emitting diagnostics.
Ping.