Revert "ANDROID: vmlinux.lds.h: Define SANITIZER_DISCARDS with CONFIG_CFI_CLANG"
This reverts commit 5896d00f9c because
discarding the .eh_frame section currently breaks backtraces in the T32
debugger.
Bug: 188764690
Change-Id: Id8e037ef40051e297078f315be030d6b630ed33c
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
parent
a6bb1af39d
commit
7b04b63e1c
1 changed files with 1 additions and 2 deletions
|
|
@ -1033,8 +1033,7 @@
|
|||
* keep any .init_array.* sections.
|
||||
* https://bugs.llvm.org/show_bug.cgi?id=46478
|
||||
*/
|
||||
#if defined(CONFIG_GCOV_KERNEL) || defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KCSAN) || \
|
||||
defined(CONFIG_CFI_CLANG)
|
||||
#if defined(CONFIG_GCOV_KERNEL) || defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KCSAN)
|
||||
# ifdef CONFIG_CONSTRUCTORS
|
||||
# define SANITIZER_DISCARDS \
|
||||
*(.eh_frame)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue