Re: [PATCH bpf-next 1/3] objtool: Move noreturns.h to a common location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 14, 2025 at 11:48:00AM +0100, Peter Zijlstra wrote:
> On Tue, Feb 11, 2025 at 08:11:22AM -0800, Josh Poimboeuf wrote:
> 
> > Also, for objtool we could use something based on your program to
> > autogenerate noreturns.h.  Only problem is, objtool doesn't currently
> > have a dependency on CONFIG_DEBUG_INFO.  Another option we've considered
> > is compiler annotations (or compiler plugins).
> 
> But we don't need to re-generate the file on every build, right? We can
> have every DBUG_INFO build verify the file is still complete.

Hm, yeah we could do that.  It's still not ideal, as a human now has to
go fix those warnings...

But it's probably better than the current situation.

-- 
Josh




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux