V8
head
Loading...
Searching...
No Matches
include
v8-unwinder-state.h
Go to the documentation of this file.
1
// Copyright 2020 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 INCLUDE_V8_UNWINDER_STATE_H_
6
#define INCLUDE_V8_UNWINDER_STATE_H_
7
8
namespace
v8
{
9
10
#ifdef V8_TARGET_ARCH_ARM
11
struct
CalleeSavedRegisters {
12
void
* arm_r4;
13
void
* arm_r5;
14
void
* arm_r6;
15
void
* arm_r7;
16
void
* arm_r8;
17
void
* arm_r9;
18
void
* arm_r10;
19
};
20
#elif V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_ARM64 || \
21
V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC64 || V8_TARGET_ARCH_RISCV64 || \
22
V8_TARGET_ARCH_S390X || V8_TARGET_ARCH_LOONG64 || V8_TARGET_ARCH_RISCV32
23
struct
CalleeSavedRegisters {};
24
#else
25
#error Target architecture was not detected as supported by v8
26
#endif
27
28
}
// namespace v8
29
30
#endif
// INCLUDE_V8_UNWINDER _STATE_H_
v8
Definition:
libplatform.h:15