gen_compile_commands: add assembly files to compilation database
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 19 Jul 2023 03:19:12 +0000 (13:19 +1000)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 23 Jul 2023 13:36:07 +0000 (22:36 +0900)
commit1c67921444bf68107f7901d5bcfce954efaa8754
treed5a6e21633f36f36bf973617c5273b678ddf7622
parent30ebf2ce70888d8fdd1986e8e6d509dd2d227985
gen_compile_commands: add assembly files to compilation database

Like C source files, tooling can find it useful to have the assembly
source file compilation recorded.

The .S extension appears to used across all architectures.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Reviewed-by: Fangrui Song <maskray@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/clang-tools/gen_compile_commands.py