Enable CFI on debug build
authorhuangzq2 <huangzq2@motorola.com>
Wed, 16 Jan 2019 09:58:38 +0000 (17:58 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:33 +0000 (17:30 +0800)
Change-Id: Ibb2f6cbb240caabdc9ece15bde2a4804acf567a3
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1295306
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

arch/arm64/configs/ext_config/debug-erd9610.config

index 64cef242af266625149bb1e098986bd365d5a42d..491b64a491e8a7e215ca3b45834f7b1dc8b356f5 100644 (file)
@@ -58,10 +58,3 @@ CONFIG_PAGE_POISONING=y
 # CONFIG_DEBUG_SNAPSHOT_MINIMIZED_MODE is not set
 CONFIG_BUG_ON_DATA_CORRUPTION=y
 
-# Disable CFI on debug build
-# CONFIG_CFI is not set
-# CONFIG_LTO is not set
-# CONFIG_CFI_CLANG is not set
-# CONFIG_LTO_CLANG is not set
-CONFIG_CFI_PERMISSIVE=y
-CONFIG_LTO_NONE=y