Commit 73216225 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

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
parent 6e7e0eac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment