summaryrefslogtreecommitdiff
path: root/compiler-rt
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-12-27 03:30:42 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-12-27 03:30:42 +0000
commit53300973829f9410e145474360a9e6298be00ce5 (patch)
treebc66ac1850010840b763ac46e0f70a4640a00a3b /compiler-rt
parent20a395ab10d5ef7e790bfd60706475736a63c591 (diff)
Revert "[msan] Disable tail call optimization in msan rtl."
This reverts commit r350080, which breaks * gcc as the host compiler * some tests on ppc64
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/msan/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
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.