summaryrefslogtreecommitdiff
path: root/compiler/debug/method_debug_info.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2016-03-11 14:25:40 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-11 14:25:41 +0000
commit1a008a127730710f8f56c1ca66385e1b062a2dcb (patch)
treeb3d33325c5e5ef2f34aa9a497c83863cf2481abb /compiler/debug/method_debug_info.h
parent2af7213a4e0d395fe22dcdce6ec10a3bd131023d (diff)
parent197160d47f34238cb5e7444fa4c2de300db8e2c6 (diff)
Merge "Refactor MethodDebugInfo (input of DWARF writer)."
Diffstat (limited to 'compiler/debug/method_debug_info.h')
-rw-r--r--compiler/debug/method_debug_info.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/compiler/debug/method_debug_info.h b/compiler/debug/method_debug_info.h
index bb09f7e814..1ccc705ff9 100644
--- a/compiler/debug/method_debug_info.h
+++ b/compiler/debug/method_debug_info.h
@@ -29,18 +29,16 @@ struct MethodDebugInfo {
uint32_t dex_method_index;
uint32_t access_flags;
const DexFile::CodeItem* code_item;
+ InstructionSet isa;
bool deduped;
bool is_native_debuggable;
- uintptr_t low_pc;
- uintptr_t high_pc;
- CompiledMethod* compiled_method;
-
- bool IsFromOptimizingCompiler() const {
- return compiled_method->GetQuickCode().size() > 0 &&
- compiled_method->GetVmapTable().size() > 0 &&
- compiled_method->GetGcMap().size() == 0 &&
- code_item != nullptr;
- }
+ bool is_optimized;
+ bool is_code_address_text_relative; // Is the address offset from start of .text section?
+ uint64_t code_address;
+ uint32_t code_size;
+ uint32_t frame_size_in_bytes;
+ const uint8_t* code_info;
+ ArrayRef<const uint8_t> cfi;
};
} // namespace debug