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

Side by Side Diff: src/globals.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, 5 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/flag-definitions.h ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 // ^ 570 // ^
571 // | 571 // |
572 // buffer 572 // buffer
573 573
574 struct CodeDesc { 574 struct CodeDesc {
575 byte* buffer; 575 byte* buffer;
576 int buffer_size; 576 int buffer_size;
577 int instr_size; 577 int instr_size;
578 int reloc_size; 578 int reloc_size;
579 int constant_pool_size; 579 int constant_pool_size;
580 byte* unwinding_info;
581 int unwinding_info_size;
580 Assembler* origin; 582 Assembler* origin;
581 }; 583 };
582 584
583 585
584 // Callback function used for checking constraints when copying/relocating 586 // Callback function used for checking constraints when copying/relocating
585 // objects. Returns true if an object can be copied/relocated from its 587 // objects. Returns true if an object can be copied/relocated from its
586 // old_addr to a new_addr. 588 // old_addr to a new_addr.
587 typedef bool (*ConstraintCallback)(Address new_addr, Address old_addr); 589 typedef bool (*ConstraintCallback)(Address new_addr, Address old_addr);
588 590
589 591
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> 1115 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >>
1114 kPointerSizeLog2); 1116 kPointerSizeLog2);
1115 } 1117 }
1116 1118
1117 } // namespace internal 1119 } // namespace internal
1118 } // namespace v8 1120 } // namespace v8
1119 1121
1120 namespace i = v8::internal; 1122 namespace i = v8::internal;
1121 1123
1122 #endif // V8_GLOBALS_H_ 1124 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698