File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/tools/debugserver/source Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,6 @@ if (CXX_SUPPORTS_NO_EXTENDED_OFFSETOF)
82
82
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-extended-offsetof" )
83
83
endif ()
84
84
85
- # When compiling for arm, build debugserver 2 way fat with an arm64 and arm64e
86
- # slice. You can only debug arm64e processes using an arm64e debugserver.
87
85
include (CheckCSourceCompiles )
88
86
check_c_source_compiles (
89
87
"
@@ -102,7 +100,9 @@ check_c_source_compiles(
102
100
BUILDING_FOR_ARM64_OSX
103
101
)
104
102
105
- if (BUILDING_FOR_ARM64_OSX )
103
+ # You can only debug arm64e processes using an arm64e debugserver.
104
+ option (LLDB_ENABLE_ARM64E_DEBUGSERVER "Build debugserver for arm64 and arm64e" OFF )
105
+ if (BUILDING_FOR_ARM64_OSX AND LLDB_ENABLE_ARM64E_DEBUGSERVER )
106
106
set (CMAKE_OSX_ARCHITECTURES "arm64;arm64e" )
107
107
endif ()
108
108
You can’t perform that action at this time.
0 commit comments