mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
ANDROID: gki_config: use DWARFv5 rather than DWARFv4
DWARFv5 is the latest iteration of the debug info spec; it contains many encoding tricks to optimize for space. For example, with this patch applied (DWARFv5), for build.config.gki.aarch64: $ du -h out/android-mainline/dist/vmlinux 304M out/android-mainline/dist/vmlinux Before (DWARFv4): du -h out/android-mainline/dist/vmlinux 339M out/android-mainline/dist/vmlinux Bug: 192694378 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Change-Id: I6644482d9b12eb3e0d1d3676c53ee2eee97a6573
This commit is contained in:
committed by
Giuliano Procida
parent
ec61e5e121
commit
ad2bd67e07
@@ -696,7 +696,7 @@ CONFIG_PRINTK_TIME=y
|
||||
CONFIG_PRINTK_CALLER=y
|
||||
CONFIG_DYNAMIC_DEBUG_CORE=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_INFO_DWARF4=y
|
||||
CONFIG_DEBUG_INFO_DWARF5=y
|
||||
CONFIG_DEBUG_INFO_BTF=y
|
||||
CONFIG_MODULE_ALLOW_BTF_MISMATCH=y
|
||||
CONFIG_HEADERS_INSTALL=y
|
||||
|
||||
@@ -642,7 +642,7 @@ CONFIG_STACK_HASH_ORDER=12
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_DYNAMIC_DEBUG_CORE=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_INFO_DWARF4=y
|
||||
CONFIG_DEBUG_INFO_DWARF5=y
|
||||
CONFIG_DEBUG_INFO_BTF=y
|
||||
CONFIG_MODULE_ALLOW_BTF_MISMATCH=y
|
||||
CONFIG_HEADERS_INSTALL=y
|
||||
|
||||
Reference in New Issue
Block a user