From 0802518a6a5af8182131eb3fe66bf58dd77f9fe2 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 25 Oct 2016 17:20:18 +0100 Subject: Save the non-verified classes in the VerifierDeps. We will need that information when taking an OTA to make sure the same set of classes needs to be verified at runtime. Currently, the vdex file will contain a list of unverified classes. We could alternatively encode a bit vector of the size of the type_id array, but the few experiments I did show that the bit vector is actually larger. We can refine this later. bug: 30937355 test: m test-art-host test: verifier_deps_test.cc Change-Id: I2670e4fd2e54ee7a148246baa705fda3a56617ff --- compiler/driver/compiler_options.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/driver/compiler_options.h') diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 4eb695493b..56b632d6b4 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -29,6 +29,10 @@ namespace art { +namespace verifier { + class VerifierDepsTest; +} + class DexFile; class CompilerOptions FINAL { @@ -338,6 +342,7 @@ class CompilerOptions FINAL { friend class Dex2Oat; friend class CommonCompilerTest; + friend class verifier::VerifierDepsTest; DISALLOW_COPY_AND_ASSIGN(CompilerOptions); }; -- cgit v1.2.3-59-g8ed1b