diff options
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachProcess.mm')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.mm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm index 2703271ee99..4ddc5f8b10d 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm @@ -607,6 +607,11 @@ const char *MachProcess::GetDeploymentInfo(const struct load_command& lc, } } #if defined (LC_BUILD_VERSION) +#ifndef PLATFORM_IOSSIMULATOR +#define PLATFORM_IOSSIMULATOR 7 +#define PLATFORM_TVOSSIMULATOR 8 +#define PLATFORM_WATCHOSSIMULATOR 9 +#endif if (cmd == LC_BUILD_VERSION) { struct build_version_command build_vers; if (ReadMemory(load_command_address, sizeof(struct build_version_command), @@ -621,10 +626,13 @@ const char *MachProcess::GetDeploymentInfo(const struct load_command& lc, case PLATFORM_MACOS: return "macosx"; case PLATFORM_IOS: + case PLATFORM_IOSSIMULATOR: return "ios"; case PLATFORM_TVOS: + case PLATFORM_TVOSSIMULATOR: return "tvos"; case PLATFORM_WATCHOS: + case PLATFORM_WATCHOSSIMULATOR: return "watchos"; case PLATFORM_BRIDGEOS: return "bridgeos"; |