OSDN Git Service

Use dlopen to load oat files.
authorDavid Srbecky <dsrbecky@google.com>
Thu, 11 Jun 2015 16:38:44 +0000 (17:38 +0100)
committerDavid Srbecky <dsrbecky@google.com>
Fri, 12 Jun 2015 22:42:19 +0000 (23:42 +0100)
commit49e1fabc85480f01077f3cc10e8ba6ada6e4befa
tree0dc531c157f72a1413079f765e7437280673f93b
parent79b08e69b71a53beb3f053b304c34ea88bfb9a47
Use dlopen to load oat files.

This is required to support in-process unwinding in libunwind.
libunwind obtains the list of loaded libraries from the linker,
therefore we need to use dlopen, otherwise it will not find them.

Change-Id: I5fd89cce6b909385cb89b8a48c0d817677acf299
runtime/mem_map.cc
runtime/mem_map.h
runtime/oat_file.cc
test/137-cfi/run [new file with mode: 0755]
test/137-cfi/src/Main.java