diff options
Diffstat (limited to 'src/ToolBox/SOS/lldbplugin/services.cpp')
-rw-r--r-- | src/ToolBox/SOS/lldbplugin/services.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/lldbplugin/services.cpp b/src/ToolBox/SOS/lldbplugin/services.cpp index d2d2cf9f8e..e3eee4fc59 100644 --- a/src/ToolBox/SOS/lldbplugin/services.cpp +++ b/src/ToolBox/SOS/lldbplugin/services.cpp @@ -171,6 +171,10 @@ LLDBServices::VirtualUnwind( DWORD spToFind = dtcontext->Esp; #elif DBG_TARGET_ARM DWORD spToFind = dtcontext->Sp; +#elif DBG_TARGET_ARM64 + DWORD64 spToFind = dtcontext->Sp; +#else +#error "spToFind undefined for this platform" #endif int numFrames = thread.GetNumFrames(); @@ -407,6 +411,12 @@ LLDBServices::GetExecutingProcessorType( *type = IMAGE_FILE_MACHINE_AMD64; #elif DBG_TARGET_ARM *type = IMAGE_FILE_MACHINE_ARMNT; +#elif DBG_TARGET_ARM64 + *type = IMAGE_FILE_MACHINE_ARM64; +#elif DBG_TARGET_X86 + *type = IMAGE_FILE_MACHINE_I386; +#else +#error "Unsupported target" #endif return S_OK; } |