ART: Enforce noinline when suppressing sanitization
The no_sanitize_address attribute is dropped on inlining. Add a hackish noinline to the macro that will override always_inline. When Clang starts to warn on nonsensical attribute lists (e.g., always_inline + noinline), we will have to find a better way. For now, avoid churn. Bug: 117207477 Test: SANITIZE_TARGET=address build, no longer see aborts Change-Id: I967deb851a5b3716ea6b251932245e2af1530087
Loading
Please sign in to comment