OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_DEBUGINFO_H_ | 5 #ifndef VM_DEBUGINFO_H_ |
6 #define VM_DEBUGINFO_H_ | 6 #define VM_DEBUGINFO_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "platform/utils.h" |
9 #include "vm/globals.h" | 10 #include "vm/globals.h" |
10 #include "vm/utils.h" | |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 // DebugInfo is used to generate minimal debug information containing code, | 14 // DebugInfo is used to generate minimal debug information containing code, |
15 // symbols, and line numbers for generated code in the dart VM. This information | 15 // symbols, and line numbers for generated code in the dart VM. This information |
16 // can be used in two ways: | 16 // can be used in two ways: |
17 // - for debugging using a debugger | 17 // - for debugging using a debugger |
18 // - for generating information to be read by pprof to analyze Dart programs. | 18 // - for generating information to be read by pprof to analyze Dart programs. |
19 class DebugInfo { | 19 class DebugInfo { |
20 public: | 20 public: |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 private: | 93 private: |
94 void* handle_; | 94 void* handle_; |
95 DebugInfo(); | 95 DebugInfo(); |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(DebugInfo); | 97 DISALLOW_COPY_AND_ASSIGN(DebugInfo); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace dart | 100 } // namespace dart |
101 | 101 |
102 #endif // VM_DEBUGINFO_H_ | 102 #endif // VM_DEBUGINFO_H_ |
OLD | NEW |