Skip to content

Commit 97b4d7a

Browse files
committed
Removed -mno-omit-leaf-frame-pointer from flags.
Removes -mno-omit-leaf-frame-pointer from Scudo and GWP-ASan's CFlags. Attempt to fix the sanitizer buildbots. llvm-svn: 366228
1 parent e8ced86 commit 97b4d7a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

compiler-rt/lib/gwp_asan/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ set(GWP_ASAN_CFLAGS -fno-rtti -fno-exceptions -nostdinc++ -pthread)
2525
append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC GWP_ASAN_CFLAGS)
2626
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -fno-omit-frame-pointer
2727
GWP_ASAN_CFLAGS)
28-
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG
29-
-mno-omit-leaf-frame-pointer GWP_ASAN_CFLAGS)
3028

3129
# Remove -stdlib= which is unused when passing -nostdinc++.
3230
string(REGEX REPLACE "-stdlib=[a-zA-Z+]*" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})

compiler-rt/lib/scudo/CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread SCUDO_MINIMAL_DYNAMIC_LIBS)
1414
append_list_if(COMPILER_RT_HAS_LIBLOG log SCUDO_MINIMAL_DYNAMIC_LIBS)
1515
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -fno-omit-frame-pointer
1616
SCUDO_CFLAGS)
17-
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
18-
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG
19-
-mno-omit-leaf-frame-pointer SCUDO_CFLAGS)
20-
endif()
2117

2218
set(SCUDO_DYNAMIC_LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS})
2319
# Use gc-sections by default to avoid unused code being pulled in.

0 commit comments

Comments
 (0)