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

Side by Side Diff: src/unwinding-info.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: Rebase. 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
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_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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698