From: Zhangqing Huang Date: Thu, 17 Jan 2019 08:55:16 +0000 (-0600) Subject: Revert Enable CFI on debug build X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d2cbc028d75724dd8695251c8fe727ec363427e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert Enable CFI on debug build This reverts commit 212c97dd8ded53c0029346387ef7001e41b9fc16. Change-Id: I1564e753e0ec16b2fde0d47c7a8fa09d8c98ec67 Reviewed-on: https://gerrit.mot.com/1296049 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/arch/arm64/configs/ext_config/debug-erd9610.config b/arch/arm64/configs/ext_config/debug-erd9610.config index 491b64a491e8..64cef242af26 100644 --- a/arch/arm64/configs/ext_config/debug-erd9610.config +++ b/arch/arm64/configs/ext_config/debug-erd9610.config @@ -58,3 +58,10 @@ 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