From 53300973829f9410e145474360a9e6298be00ce5 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 27 Dec 2018 03:30:42 +0000 Subject: Revert "[msan] Disable tail call optimization in msan rtl." This reverts commit r350080, which breaks * gcc as the host compiler * some tests on ppc64 --- compiler-rt/lib/msan/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler-rt') diff --git a/compiler-rt/lib/msan/CMakeLists.txt b/compiler-rt/lib/msan/CMakeLists.txt index 1fd0be1ae86..15cc513c20e 100644 --- a/compiler-rt/lib/msan/CMakeLists.txt +++ b/compiler-rt/lib/msan/CMakeLists.txt @@ -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. -- cgit v1.2.3