OSDN Git Service

Enable ASan annotations in ART based on macro setting.
authorEvgenii Stepanov <eugenis@google.com>
Thu, 16 Jul 2015 00:40:14 +0000 (17:40 -0700)
committerEvgenii Stepanov <eugenis@google.com>
Thu, 16 Jul 2015 02:30:08 +0000 (19:30 -0700)
commit0f2fd32a4f86e305b1410c8da0c784c3756bc92d
tree6f4449a7273d75641b1f954ed31410e8d3a04301
parent34ac23dc965bf6ca24dd2e9bb115f66ff1fc191e
Enable ASan annotations in ART based on macro setting.

This is a quick hack to remove ASan annotations from SANITIZE_TARGET
build, because they are breaking everything - it looks like we forget
to clean redzones from a page before releasing it to the system, and
some unrelated code runs into them later.

We will add some way to control this from the build system later,
or just fix the underlying issue and re-enable by default.

Bug: 21785137
Change-Id: If79e2455e246dc39355f2758323b249ac20b6144
runtime/base/memory_tool.h