Re: [PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-19 Thread Nick Desaulniers
On Tue, Aug 18, 2020 at 9:30 PM Masahiro Yamada wrote: > > Do you have any idea to cope with > the 3% loss problem? > > If it is a problem, maybe I should try Idea 2). I think it will be ok. Reviewed-by: Nick Desaulniers -- Thanks, ~Nick Desaulniers

Re: [PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-18 Thread Masahiro Yamada
Hi Nick, On Fri, Aug 14, 2020 at 2:10 AM Masahiro Yamada wrote: > > On Thu, Aug 13, 2020 at 7:30 AM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Wed, Aug 12, 2020 at 10:40 AM Masahiro Yamada > > wrote: > > > > > > Currently, you need to explicitly run scripts/gen_compile_comman

Re: [PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-13 Thread Masahiro Yamada
On Thu, Aug 13, 2020 at 7:30 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Wed, Aug 12, 2020 at 10:40 AM Masahiro Yamada wrote: > > > > Currently, you need to explicitly run scripts/gen_compile_commands.py > > to create compile_commands.json. It traverses the object tree > > (you need

Re: [PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-12 Thread Nick Desaulniers
On Wed, Aug 12, 2020 at 10:40 AM Masahiro Yamada wrote: > > Currently, you need to explicitly run scripts/gen_compile_commands.py > to create compile_commands.json. It traverses the object tree > (you need to pass the -d option to deal with a separate output tree), > and parses all the .*.cmd file

[PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-12 Thread Masahiro Yamada
Currently, you need to explicitly run scripts/gen_compile_commands.py to create compile_commands.json. It traverses the object tree (you need to pass the -d option to deal with a separate output tree), and parses all the .*.cmd file found. If you rebuild the kernel over again without 'make clean',