1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file |
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. |
4 | |
5 | #ifndef RUNTIME_VM_REVERSE_PC_LOOKUP_CACHE_H_ |
6 | #define RUNTIME_VM_REVERSE_PC_LOOKUP_CACHE_H_ |
7 | |
8 | #include "vm/allocation.h" |
9 | #include "vm/globals.h" |
10 | #include "vm/tagged_pointer.h" |
11 | |
12 | namespace dart { |
13 | |
14 | class IsolateGroup; |
15 | |
16 | class ReversePc : public AllStatic { |
17 | public: |
18 | static CodePtr Lookup(IsolateGroup* group, |
19 | uword pc, |
20 | bool is_return_address = false); |
21 | }; |
22 | |
23 | } // namespace dart |
24 | |
25 | #endif // RUNTIME_VM_REVERSE_PC_LOOKUP_CACHE_H_ |
26 | |