Clang generates an .eh_frame section with CFI, which produces orphan
section warnings:
ld.lld: warning: <internal>:(.eh_frame) is being placed in '.eh_frame'
Define SANITIZER_DISCARDS to drop .eh_frame also with CFI.
Bug: 145210207
Link: https://github.com/ClangBuiltLinux/linux/issues/1227
Change-Id: I383f1d87920894440a234f8fca56f48119777042
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>