Do not strip debuginfo from native binaries
See https://github.com/dotnet/source-build/pull/272 and https://github.com/dotnet/source-build/pull/272
diff -ruN dotnet/patches/corefx/debug-info.patch dotnet/patches/corefx/debug-info.patch
--- dotnet/patches/corefx/debug-info.patch 1969-12-31 19:00:00.000000000 -0500
+++ dotnet/patches/corefx/debug-info.patch 2017-11-09 13:08:52.167739619 -0500
@@ -0,0 +1,20 @@
+diff -ruN corefx/src/Native/Unix/CMakeLists.txt corefx/src/Native/Unix/CMakeLists.txt
+--- corefx/src/Native/Unix/CMakeLists.txt 2017-10-25 20:38:56.000000000 -0400
++++ corefx/src/Native/Unix/CMakeLists.txt 2017-11-09 13:05:54.053454759 -0500
+@@ -20,6 +20,7 @@
+ add_compile_options(-I${CMAKE_CURRENT_SOURCE_DIR}/Common)
+ add_compile_options(-I${CMAKE_CURRENT_BINARY_DIR}/Common)
+ add_compile_options(-Wno-c99-extensions)
++add_compile_options(-g)
+
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.5)
+ add_compile_options(-Wno-unreachable-code)
+@@ -60,7 +61,7 @@
+
+ string(TOUPPER ${CMAKE_BUILD_TYPE} UPPERCASE_CMAKE_BUILD_TYPE)
+ if (UPPERCASE_CMAKE_BUILD_TYPE STREQUAL DEBUG)
+- add_compile_options(-g -O0)
++ add_compile_options(-O0)
+ add_definitions(-DDEBUG)
+
+ # obtain settings from running coreclr\enablesanitizers.sh
diff -ruN dotnet/targets/coreclr.props dotnet/targets/coreclr.props
--- dotnet/targets/coreclr.props 2017-11-09 12:52:08.413769785 -0500
+++ dotnet/targets/coreclr.props 2017-11-09 13:01:20.655552475 -0500
@@ -3,7 +3,7 @@
<PropertyGroup>
<ProjectDirectory Condition="'$(PathToRepo)' != ''">$(PathToRepo)</ProjectDirectory>
<BuildArguments>$(Platform) $(Configuration) skiptests -PortableBuild=false msbuildonunsupportedplatform </BuildArguments>
- <BuildArguments Condition="$(Platform.Contains('arm'))">$(BuildArguments) skipnuget cross -skiprestore stripSymbols</BuildArguments>
+ <BuildArguments Condition="$(Platform.Contains('arm'))">$(BuildArguments) skipnuget cross -skiprestore</BuildArguments>
<BuildArguments Condition="'$(TargetOS)'!='Windows_NT'">$(BuildArguments) ignorewarnings</BuildArguments>
<BuildCommand>$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments)</BuildCommand>
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>