Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: src/eh-frame.h

Issue 1993653003: Initial support for emitting unwinding information in perf jitdump. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Enable with --perf-prof-unwinding-info. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | src/eh-frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_EH_FRAME_H_
6 #define V8_EH_FRAME_H_
7
8 #include <cstdint>
9
10 namespace v8 {
11 namespace internal {
12
13 class Code;
14
15 class EhFrameHdr final {
16 public:
17 static const int kRecordSize = 20;
18 static const int kCIESize;
19
20 explicit EhFrameHdr(Code* code);
21
22 int32_t offset_to_eh_frame() const { return offset_to_eh_frame_; }
23 uint32_t lut_entries_number() const { return lut_entries_number_; }
24 int32_t offset_to_procedure() const { return offset_to_procedure_; }
25 int32_t offset_to_fde() const { return offset_to_fde_; }
26
27 private:
28 uint8_t version_;
29 uint8_t eh_frame_ptr_encoding_;
30 uint8_t lut_size_encoding_;
31 uint8_t lut_entries_encoding_;
32 int32_t offset_to_eh_frame_;
33 uint32_t lut_entries_number_;
34 int32_t offset_to_procedure_;
35 int32_t offset_to_fde_;
36 };
37
38 } // namespace internal
39 } // namespace v8
40
41 #endif
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | src/eh-frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698