Revert "[msan] Disable tail call optimization in msan rtl."

This reverts commit r350080, which breaks
* gcc as the host compiler
* some tests on ppc64

llvm-svn: 350083
This commit is contained in:
Evgeniy Stepanov 2018-12-27 03:30:42 +00:00
parent a8f07e51f9
commit 772bf988cf

View File

@ -38,11 +38,6 @@ endif()
# Prevent clang from generating libc calls.
append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding MSAN_RTL_CFLAGS)
# Tracking down https://bugs.llvm.org/show_bug.cgi?id=40162
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
list(APPEND MSAN_RTL_CFLAGS -fno-optimize-sibling-calls)
endif()
set(MSAN_RUNTIME_LIBRARIES)
# Static runtime library.