enable GCWhere on PAL and fixed a bug in 859307b where it's missing a function in...
authorMaoni0 <maonis@microsoft.com>
Wed, 22 Jun 2016 19:23:11 +0000 (12:23 -0700)
committerMaoni0 <maonis@microsoft.com>
Thu, 23 Jun 2016 00:15:58 +0000 (17:15 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/550b9c5d355918c6e6ce88366bdf0da99d31579f

src/coreclr/src/ToolBox/SOS/Strike/CMakeLists.txt
src/coreclr/src/ToolBox/SOS/Strike/sos_unixexports.src
src/coreclr/src/ToolBox/SOS/Strike/strike.cpp

index c474574..e4448e7 100644 (file)
@@ -124,13 +124,8 @@ else(WIN32)
     strike.cpp
     sos.cpp
     util.cpp
+    ../../../coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
   )
-  if(CLR_CMAKE_PLATFORM_DARWIN)
-    set(SOS_SOURCES
-      ${SOS_SOURCES}
-      ../../../coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
-    )
-  endif(CLR_CMAKE_PLATFORM_DARWIN)
 
   set(SOS_LIBRARY
     corguids
index 4a67aa1..ca06b8e 100644 (file)
@@ -9609,8 +9609,6 @@ DECLARE_API(GCRoot)
     return Status;
 }
 
-#ifndef FEATURE_PAL
-
 DECLARE_API(GCWhere)
 {
     INIT_API();
@@ -9730,6 +9728,8 @@ DECLARE_API(GCWhere)
     return Status;
 }
 
+#ifndef FEATURE_PAL
+
 DECLARE_API(FindRoots)
 {
 #ifndef FEATURE_PAL