diff options
author | David Srbecky <dsrbecky@google.com> | 2016-03-09 11:44:44 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2016-03-10 10:29:27 +0000 |
commit | fe736b775c7774bb2f7072e022099ca47dd21a3c (patch) | |
tree | 92a7850c812dc0373738c6c5cfdff5a32d5e489c /compiler/optimizing/optimizing_compiler.cc | |
parent | 197160d47f34238cb5e7444fa4c2de300db8e2c6 (diff) |
Allow generation of native debug info for multiple methods.
Slight tweak in the API which I will need in the near future.
Change-Id: I45954ae16710bc941a9a06a3a17c70798315ca53
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 47581b1f0d..64bb919ef5 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -933,10 +933,10 @@ bool OptimizingCompiler::JitCompile(Thread* self, info.frame_size_in_bytes = method_header->GetFrameSizeInBytes(); info.code_info = stack_map_size == 0 ? nullptr : stack_map_data; info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); - ArrayRef<const uint8_t> elf_file = debug::WriteDebugElfFileForMethod( + ArrayRef<const uint8_t> elf_file = debug::WriteDebugElfFileForMethods( GetCompilerDriver()->GetInstructionSet(), GetCompilerDriver()->GetInstructionSetFeatures(), - info); + ArrayRef<const debug::MethodDebugInfo>(&info, 1)); CreateJITCodeEntryForAddress(code_address, std::unique_ptr<const uint8_t[]>(elf_file.data()), elf_file.size()); |