#include <stdint.h>
#include "src/base/build_config.h"
#include "src/base/sanitizer/asan.h"
#include "test/cctest/cctest.h"
namespace v8 {
namespace internal {
#ifdef V8_CC_GNU
#if V8_HOST_ARCH_X64
#define GET_STACK_POINTER_TO(sp_addr) …
#elif V8_HOST_ARCH_IA32
#define GET_STACK_POINTER_TO …
#elif V8_HOST_ARCH_ARM
#define GET_STACK_POINTER_TO …
#elif V8_HOST_ARCH_ARM64
#define GET_STACK_POINTER_TO …
#elif V8_HOST_ARCH_MIPS
#define GET_STACK_POINTER_TO …
#elif V8_HOST_ARCH_MIPS64
#define GET_STACK_POINTER_TO …
#elif V8_OS_ZOS
#define GET_STACK_POINTER_TO …
#elif defined(__s390x__) || defined(_ARCH_S390X)
#define GET_STACK_POINTER_TO …
#elif defined(__s390__) || defined(_ARCH_S390)
#define GET_STACK_POINTER_TO …
#elif defined(__PPC64__) || defined(_ARCH_PPC64)
#define GET_STACK_POINTER_TO …
#elif V8_TARGET_ARCH_RISCV64 || V8_TARGET_ARCH_RISCV32
#define GET_STACK_POINTER_TO …
#elif V8_HOST_ARCH_LOONG64
#define GET_STACK_POINTER_TO …
#else
#error Host architecture was not detected as supported by v8
#endif
DISABLE_ASAN inline uintptr_t GetStackPointer() { … }
#endif
}
}