Initial ARM64 support
This commit is contained in:
parent
3161b34ff6
commit
cbaf642ffe
15 changed files with 68 additions and 36 deletions
|
@ -31,8 +31,10 @@
|
|||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#ifdef ARCHITECTURE_x86_64
|
||||
#if defined(ARCHITECTURE_x86_64)
|
||||
#define Crash() __asm__ __volatile__("int $3")
|
||||
#elif defined(ARCHITECTURE_arm64)
|
||||
#define Crash() __asm__ __volatile__("brk #0")
|
||||
#else
|
||||
#define Crash() exit(1)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue