blob: e8ba9148e8e82d5502bc04b86a72a7f3a6d2779a [file] [log] [blame]
Vladimir Marko10c13562015-11-25 14:33:36 +00001/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ART_COMPILER_DWARF_METHOD_DEBUG_INFO_H_
18#define ART_COMPILER_DWARF_METHOD_DEBUG_INFO_H_
19
20#include "dex_file.h"
21
22namespace art {
23class CompiledMethod;
24namespace dwarf {
25
26struct MethodDebugInfo {
27 const DexFile* dex_file_;
28 size_t class_def_index_;
29 uint32_t dex_method_index_;
30 uint32_t access_flags_;
31 const DexFile::CodeItem* code_item_;
32 bool deduped_;
David Srbecky5cc349f2015-12-18 15:04:48 +000033 uintptr_t low_pc_;
34 uintptr_t high_pc_;
Vladimir Marko10c13562015-11-25 14:33:36 +000035 CompiledMethod* compiled_method_;
36};
37
38} // namespace dwarf
39} // namespace art
40
41#endif // ART_COMPILER_DWARF_METHOD_DEBUG_INFO_H_