[RAMEN9610-14440] ANDROID: kbuild: disable LTO_CLANG with KASAN
authorSami Tolvanen <samitolvanen@google.com>
Fri, 14 Sep 2018 16:17:55 +0000 (09:17 -0700)
committerhskang <hs1218.kang@samsung.com>
Sun, 21 Apr 2019 09:10:26 +0000 (18:10 +0900)
commit84b5e124d8b5155d29ccd02bfb0045a0a379f4d2
treea276eb2d1ce987ad062cc7d19c036bb9bf59ae54
parentf6f3b80d66b960569aef85a8380f8ef2b6836341
[RAMEN9610-14440] ANDROID: kbuild: disable LTO_CLANG with KASAN

Using LTO with KASAN currently results in "inlinable function call
in a function with debug info must have a !dbg location" errors for
memset and several of the __asan_report_* functions.

As combining these options doesn't provide significant benefits,
this change disables LTO_CLANG when KASAN is selected.

Bug: 113246877
Change-Id: I06cd27d1e9ab74627de4771548453abe3593fcb5
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/Kconfig