OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef V8_UNWINDING_INFO_H_ | |
6 #define V8_UNWINDING_INFO_H_ | |
7 | |
8 #include <cstdint> | |
9 | |
10 namespace v8 { | |
11 namespace internal { | |
12 | |
13 class Code; | |
14 | |
15 class EhFrameHdr final { | |
rmcilroy
2016/06/21 13:47:44
This file should be eh_frame_header (and the the c
Stefano Sanfilippo
2016/06/23 15:23:44
.eh_frame_hdr is the name of the section and how i
| |
16 public: | |
17 explicit EhFrameHdr(Code* code); | |
18 static const int kRecordSize = 20; | |
19 | |
20 private: | |
21 uint8_t version_; | |
22 uint8_t eh_frame_ptr_encoding_; | |
23 uint8_t lut_size_encoding_; | |
24 uint8_t lut_entries_encoding_; | |
25 int32_t offset_to_eh_frame_; | |
26 uint32_t lut_entries_number_; | |
27 int32_t offset_to_procedure_; | |
28 int32_t offset_to_fde_; | |
29 }; | |
30 | |
31 void PatchProcedureBoundariesInEhFrame(Code* code); | |
32 | |
33 } // namespace internal | |
34 } // namespace v8 | |
35 | |
36 #endif | |
OLD | NEW |