summaryrefslogtreecommitdiff
path: root/runtime/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/image.h')
-rw-r--r--runtime/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/image.h b/runtime/image.h
index c449e43243..146ee00c84 100644
--- a/runtime/image.h
+++ b/runtime/image.h
@@ -143,6 +143,8 @@ class PACKED(4) ImageHeader {
oat_checksum_ = oat_checksum;
}
+ // The location that the oat file was expected to be when the image was created. The actual
+ // oat file may be at a different location for application images.
uint8_t* GetOatFileBegin() const {
return reinterpret_cast<uint8_t*>(oat_file_begin_);
}