add _M_ARM64 support
¯\_(ツ)_/¯ Cq-Include-Trybots: skia.primary:Build-Win-MSVC-arm64-Debug Change-Id: I48dd439fffff004c9ee7f36ecbe834a964286726 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/208279 Commit-Queue: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: Mike Klein <mtklein@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
19cc00f19a
commit
d51d00745b
@ -156,6 +156,11 @@
|
||||
frame.AddrStack.Offset = c->Rsp;
|
||||
frame.AddrFrame.Offset = c->Rbp;
|
||||
const DWORD machineType = IMAGE_FILE_MACHINE_AMD64;
|
||||
#elif defined(_M_ARM64)
|
||||
frame.AddrPC.Offset = c->Pc;
|
||||
frame.AddrStack.Offset = c->Sp;
|
||||
frame.AddrFrame.Offset = c->Fp;
|
||||
const DWORD machineType = IMAGE_FILE_MACHINE_ARM64;
|
||||
#endif
|
||||
|
||||
while (StackWalk64(machineType,
|
||||
|
Loading…
Reference in New Issue
Block a user