Re: [RFC PATCH] bug: always show source-tree-relative paths in WARN()/BUG()

From: Brian Norris
Date: Fri Jul 12 2019 - 21:46:52 EST


On Thu, Jul 11, 2019 at 6:50 PM Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> GCC 8 added this flag.
> So, it will be eventually all solved in the GCC world.

Ack.

> Clang has not supported it yet...

That's what it appeared like. I've bugged our Clang-loving toolchain
folks to see if we can get parity.

> Trimming absolute path at run-time
> is no help for reducing the kernel image.

Sure, but that's not my stated goal. It would indeed be nicer though.
I guess if no one else speaks up with a favorable word toward my RFC,
I'll just see what I can do on the toolchain side.

Thanks for the help,
Brian