From 974709e8bf0b28a31c78fc357d803d9394d02864 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Mon, 2 Nov 2020 10:11:19 -0800 Subject: [PATCH] ANDROID: GKI: Enable DEBUG_INFO_DWARF4 This is useful for debuggers, and is already the default for clang (incidentally). Make sure it is on for all users/compilers. Bug: 160841764 Change-Id: Ibb9a0c6900728d4cce3eccb57fb4c38268a89f24 Signed-off-by: Alistair Delva --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 85afc1c05034..7446c16b744d 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -503,6 +503,7 @@ CONFIG_CRC8=y CONFIG_XZ_DEC=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_DWARF4=y # CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set CONFIG_MAGIC_SYSRQ=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 92595b7f6bc1..f5d416faf974 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -438,6 +438,7 @@ CONFIG_CRC8=y CONFIG_XZ_DEC=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_DWARF4=y # CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set CONFIG_MAGIC_SYSRQ=y