Commit 7fb46653 authored by George Burgess IV's avatar George Burgess IV
Browse files

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