From 772bf988cfdbc6dcf3b4082f77f6d972f844b9f0 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 27 Dec 2018 03:30:42 +0000 Subject: [PATCH] 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 --- compiler-rt/lib/msan/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler-rt/lib/msan/CMakeLists.txt b/compiler-rt/lib/msan/CMakeLists.txt index 1fd0be1ae86b..15cc513c20e9 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.