Loading...
Searching...
No Matches
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
8namespace v8 {
9
10#ifdef V8_TARGET_ARCH_ARM
11struct 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_PPC || V8_TARGET_ARCH_PPC64 || \
22 V8_TARGET_ARCH_RISCV64 || V8_TARGET_ARCH_S390 || V8_TARGET_ARCH_LOONG64 || \
23 V8_TARGET_ARCH_RISCV32
24struct CalleeSavedRegisters {};
25#else
26#error Target architecture was not detected as supported by v8
27#endif
28
29} // namespace v8
30
31#endif // INCLUDE_V8_UNWINDER _STATE_H_
Definition: libplatform.h:15