commit | d424d0856927a5d771644b0ef18cb48ef8c04817 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Oct 15 10:31:46 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Oct 15 10:31:46 2014 -0700 |
tree | 66381e851a3fdc4b4d26bf03e4f2fca788f6bb26 | |
parent | 5c5efc253507eb43265997c9afcd778f72b6cef4 [diff] |
Fix oatdump for no image Added MemMap::Init if we dont initialize the runtime. Bug: 18000219 Change-Id: I1bd715e18838919c0773db5fa25623348326baa6
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 @@ runtime.reset(StartRuntime(args.boot_image_location_, args.image_location_, args.instruction_set_)); + } else { + MemMap::Init(); } if (args.oat_filename_ != nullptr) {