5 #ifndef V8_COMPILER_BACKEND_UNWINDING_INFO_WRITER_H_ 6 #define V8_COMPILER_BACKEND_UNWINDING_INFO_WRITER_H_ 9 #include "src/compiler/backend/arm/unwinding-info-writer-arm.h" 10 #elif V8_TARGET_ARCH_ARM64 11 #include "src/compiler/backend/arm64/unwinding-info-writer-arm64.h" 12 #elif V8_TARGET_ARCH_X64 13 #include "src/compiler/backend/x64/unwinding-info-writer-x64.h" 18 #include "src/base/logging.h" 27 class InstructionBlock;
29 class UnwindingInfoWriter {
31 explicit UnwindingInfoWriter(Zone* zone) {}
33 void SetNumberOfInstructionBlocks(
int number) {
34 if (FLAG_perf_prof_unwinding_info) UNIMPLEMENTED();
37 void BeginInstructionBlock(
int pc_offset,
const InstructionBlock* block) {
38 if (FLAG_perf_prof_unwinding_info) UNIMPLEMENTED();
40 void EndInstructionBlock(
const InstructionBlock* block) {
41 if (FLAG_perf_prof_unwinding_info) UNIMPLEMENTED();
44 void Finish(
int code_size) {}
46 EhFrameWriter* eh_frame_writer() {
return nullptr; }
55 #endif // V8_COMPILER_BACKEND_UNWINDING_INFO_WRITER_H_