Revert "Launching the Memory Profiler on x86 emulator may lead to crash in coreclr...
authorSergey Ignatov <sergign60@mail.ru>
Mon, 9 Jul 2018 09:45:04 +0000 (12:45 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Tue, 18 Sep 2018 12:49:14 +0000 (15:49 +0300)
This reverts commit a6695d168396847df8d006a8743c84e5141824af.

src/pal/src/CMakeLists.txt
src/utilcode/CMakeLists.txt

index 8670972..dbff63d 100644 (file)
@@ -107,8 +107,6 @@ elseif(PAL_CMAKE_PLATFORM_ARCH_ARM64)
 elseif(PAL_CMAKE_PLATFORM_ARCH_I386)
   add_definitions(-DBIT32=1)
   set(PAL_ARCH_SOURCES_DIR i386)
-  # Workaround to avoid generating sse insts for profiler
-  add_compile_options(-mno-sse -mno-avx)
 endif()
 
 if(PAL_CMAKE_PLATFORM_ARCH_AMD64 AND CMAKE_SYSTEM_NAME STREQUAL Linux AND NOT CLR_CMAKE_PLATFORM_ALPINE_LINUX)
index a7f2156..9629e51 100644 (file)
@@ -110,11 +110,6 @@ if(CLR_CMAKE_PLATFORM_UNIX)
     add_compile_options(-fPIC)
 endif(CLR_CMAKE_PLATFORM_UNIX)
 
-if(CLR_CMAKE_PLATFORM_ARCH_I386)
-    # Workaround to avoid generating sse insts for profiler
-    add_compile_options(-mno-sse -mno-avx)
-endif(CLR_CMAKE_PLATFORM_ARCH_I386)
-
 add_subdirectory(dac)
 add_subdirectory(dyncrt)
 add_subdirectory(staticnohost)