Commit 2010444e authored by Davide Italiano's avatar Davide Italiano
Browse files

[Apple Silicon] Handle macOS in PlatformDarwin

This makes "target create /bin/ls" properly detect which platform
is needed when running lldb. Covered by many tests in the suite.
parent 1c0bbe43
...@@ -546,6 +546,8 @@ bool PlatformDarwin::ARMGetSupportedArchitectureAtIndex(uint32_t idx, ...@@ -546,6 +546,8 @@ bool PlatformDarwin::ARMGetSupportedArchitectureAtIndex(uint32_t idx,
#define OSNAME "watchos" #define OSNAME "watchos"
#elif defined(TARGET_OS_BRIDGE) && TARGET_OS_BRIDGE == 1 #elif defined(TARGET_OS_BRIDGE) && TARGET_OS_BRIDGE == 1
#define OSNAME "bridgeos" #define OSNAME "bridgeos"
#elif defined(TARGET_OS_OSX) && TARGET_OS_OSX == 1
#define OSNAME "macosx"
#else #else
#define OSNAME "ios" #define OSNAME "ios"
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment