LoongArch: Allow building with kcov coverage
authorFeiyang Chen <chenfeiyang@loongson.cn>
Wed, 6 Sep 2023 14:53:55 +0000 (22:53 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 6 Sep 2023 14:53:55 +0000 (22:53 +0800)
commit2363088eba2ecccfb643725e4864af73c4226a04
tree71c43f8873630e8f03fefc6ee544bdad61f6500e
parentb72961f847c0f0df113ae2d6ac9fd6b1e6bdeaf2
LoongArch: Allow building with kcov coverage

Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the LoongArch Kconfig. And
also disable instrumentation of vdso.

Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Documentation/features/debug/kcov/arch-support.txt
arch/loongarch/Kconfig
arch/loongarch/vdso/Makefile