summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2018-02-23 17:53:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-02-23 17:53:23 +0000
commit63e9e8700d0fe14a31d93e95efea603bab78a68e (patch)
tree6a89ae90a962070ed559c9759232d429a5369507 /runtime/class_linker.cc
parentc7ac275a5f06b0e1140bf600ec1e654f629c54ab (diff)
parent440a9b3b3e6aa60c14e73a97dd85c9ada0898569 (diff)
Merge "Add timestamps to JIT/DEX native debug info."
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index ad2e7a77dd..856e538ad6 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -3434,7 +3434,8 @@ void ClassLinker::RegisterDexFileLocked(const DexFile& dex_file,
data.weak_root = dex_cache_jweak;
data.dex_file = dex_cache->GetDexFile();
data.class_table = ClassTableForClassLoader(class_loader);
- RegisterDexFileForNative(self, data.dex_file->Begin());
+ AddNativeDebugInfoForDex(self, ArrayRef<const uint8_t>(data.dex_file->Begin(),
+ data.dex_file->Size()));
DCHECK(data.class_table != nullptr);
// Make sure to hold the dex cache live in the class table. This case happens for the boot class
// path dex caches without an image.