summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
authorBharadwaj Kalandhabhatta <bharadwajsk@google.com>2017-06-06 17:14:12 -0700
committerBharadwaj Kalandhabhatta <bharadwajsk@google.com>2017-06-07 11:19:13 -0700
commit043c9088bec3d48e93477206b59fb2b5360d7bb3 (patch)
tree5f337b0a6a5d802ba32f976739706ae0e82f98a2 /compiler/common_compiler_test.cc
parent11d72c608e0565fabcf6b2d6c13fbc85c560a608 (diff)
Added more functionality to dex file tracking
Additional functions were added for (un)poisoning only certain sections of a dex file. All functions related to tracking are now in a class (DexFileTrackingRegistrar) since unpoisoning subsections of an already poisoned section cause poison reads. Static variables were added representing specific configurations that were used for testing. GetCodeItem from art/dex/layout/dex_ir.cc was moved to art/runtime/dex_file.cc because dex_file_tracking_registrar calls GetCodeItem and GetCodeItem returns a property of a DexFile. Bug: 37754950 Test: export ART_DEX_FILE_ACCESS_TRACKING=true && m -j && m -j SANITIZE_TARGET=address SANITIZE_LITE=true test-art-host Change-Id: Ie4e5aefb6f80b18fdaae5b5e8aa3bc99d77cbeac
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions