commit | 7fb46653450fc577638e2e327bdb5c525643cae9 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Fri Jun 16 15:35:33 2017 -0700 |
committer | George Burgess IV <gbiv@google.com> | Tue Jun 20 18:15:59 2017 +0000 |
tree | 7455343725c13809825ba67dd3b252b14cfb848f | |
parent | 53ac3130edd9c9273f95e3ba0bc5e80f6d2b3f2d [diff] |
build: always define NDEBUG in the static analyzer ART enforces some invariants only in debug builds, denoted by DCHECKs, "if (kIsDebugBuild)" and the like. To always expose these invariants to the static analyzer and not trigger warnings for the release build, always compile in debug mode, that is, ensure that NDEBUG is undefined. Bug: 32619234 Test: test-art-host. mma showed no false-positive that this was meant to silence. Change-Id: I24906b048b9343966d60755cf92be7d670878d81