diff options
author | David Srbecky <dsrbecky@google.com> | 2016-03-11 17:11:44 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2016-03-11 17:35:19 +0000 |
commit | 09c2a6be63337ee060e2d54bd01cf18be7301d29 (patch) | |
tree | c623c5352bc908410f03b20b772c3dad47df207c /compiler/optimizing/optimizing_compiler.cc | |
parent | fdaa583e785383cca68df63c7ef53fcaf667b8e2 (diff) |
Add trampoline symbols to native debug info.
The debugger needs them to unwind through the trampolines and to
understand what is happening in the call stack.
Change-Id: Ia554058c3796788adcd7336d620a7734eb366905
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index cc1a8064b1..7a82063bba 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -919,7 +919,8 @@ bool OptimizingCompiler::JitCompile(Thread* self, if (compiler_options.GetGenerateDebugInfo()) { const auto* method_header = reinterpret_cast<const OatQuickMethodHeader*>(code); const uintptr_t code_address = reinterpret_cast<uintptr_t>(method_header->GetCode()); - debug::MethodDebugInfo info; + debug::MethodDebugInfo info = debug::MethodDebugInfo(); + info.trampoline_name = nullptr; info.dex_file = dex_file; info.class_def_index = class_def_idx; info.dex_method_index = method_idx; |