diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-10-15 10:31:46 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-10-15 10:31:46 -0700 |
commit | d424d0856927a5d771644b0ef18cb48ef8c04817 (patch) | |
tree | 66381e851a3fdc4b4d26bf03e4f2fca788f6bb26 /oatdump | |
parent | 5c5efc253507eb43265997c9afcd778f72b6cef4 (diff) | |
download | art-d424d0856927a5d771644b0ef18cb48ef8c04817.zip art-d424d0856927a5d771644b0ef18cb48ef8c04817.tar.gz art-d424d0856927a5d771644b0ef18cb48ef8c04817.tar.bz2 |
Fix oatdump for no image
Added MemMap::Init if we dont initialize the runtime.
Bug: 18000219
Change-Id: I1bd715e18838919c0773db5fa25623348326baa6
Diffstat (limited to 'oatdump')
-rw-r--r-- | oatdump/oatdump.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc index 1f2c0aa..2649ab7 100644 --- a/oatdump/oatdump.cc +++ b/oatdump/oatdump.cc @@ -2225,6 +2225,8 @@ static int oatdump(int argc, char** argv) { runtime.reset(StartRuntime(args.boot_image_location_, args.image_location_, args.instruction_set_)); + } else { + MemMap::Init(); } if (args.oat_filename_ != nullptr) { |