[ARM64/Linux] Disable not yet implemented features.
authorSung-Jae Lee <sjlee@mail.com>
Sat, 4 Jun 2016 16:19:56 +0000 (01:19 +0900)
committerSung-Jae Lee <sjlee@mail.com>
Wed, 8 Jun 2016 01:17:50 +0000 (10:17 +0900)
This patch temporary disables NYIs of SOS for ARM64 architecture.

clrdefinitions.cmake
src/ToolBox/SOS/Strike/disasmARM64.cpp

index ea65682..3785f63 100644 (file)
@@ -134,7 +134,9 @@ add_definitions(-DFEATURE_MERGE_CULTURE_SUPPORT_AND_ENGINE)
 
 if(CLR_CMAKE_TARGET_ARCH_ARM64)
   # TODO_DJIT: Remove this as part of enabling cross-compiling standalone JIT binary.
-  set(FEATURE_MERGE_JIT_AND_ENGINE 1)
+  if (NOT CLR_CMAKE_PLATFORM_UNIX)
+    set(FEATURE_MERGE_JIT_AND_ENGINE 1)
+  endif(NOT CLR_CMAKE_PLATFORM_UNIX)
 endif(CLR_CMAKE_TARGET_ARCH_ARM64)
 
 if(FEATURE_MERGE_JIT_AND_ENGINE)
index ffe55bf..2c581bc 100644 (file)
@@ -41,6 +41,14 @@ namespace ARM64GCDump
 #include "gcdumpnonx86.cpp"
 }
 
+#ifdef FEATURE_PAL
+void SwitchToFiber(void*)
+{
+    // TODO: Fix for linux
+    assert(false);
+}
+#endif
+
 #if !defined(_TARGET_WIN64_)
 #error This file only supports SOS targeting ARM64 from a 64-bit debugger
 #endif