revert disable-no-omit-leaf.diff, fixed upstream

This commit is contained in:
Sylvestre Ledru 2021-09-09 10:04:30 +02:00
parent f0e96b3dbf
commit 3bca1f47a9
2 changed files with 0 additions and 19 deletions

View File

@ -1,18 +0,0 @@
Index: llvm-toolchain-13-13.0.0~+rc2/compiler-rt/lib/scudo/standalone/CMakeLists.txt
===================================================================
--- llvm-toolchain-13-13.0.0~+rc2.orig/compiler-rt/lib/scudo/standalone/CMakeLists.txt
+++ llvm-toolchain-13-13.0.0~+rc2/compiler-rt/lib/scudo/standalone/CMakeLists.txt
@@ -123,9 +123,10 @@ if (COMPILER_RT_HAS_GWP_ASAN)
list(APPEND SCUDO_OBJECT_LIBS
RTGwpAsan RTGwpAsanBacktraceLibc RTGwpAsanSegvHandler
RTGwpAsanOptionsParser)
-
- list(APPEND SCUDO_CFLAGS -DGWP_ASAN_HOOKS -fno-omit-frame-pointer
- -mno-omit-leaf-frame-pointer)
+ if (NOT ${arch} STREQUAL "armhf" AND NOT ${arch} STREQUAL "armel")
+ list(APPEND SCUDO_CFLAGS -DGWP_ASAN_HOOKS -fno-omit-frame-pointer
+ -mno-omit-leaf-frame-pointer)
+ endif()
endif()
set(SCUDO_LINK_LIBS)

View File

@ -145,4 +145,3 @@ scan-build-py-fix-default-bin.diff
libclc-llvm-spirv.diff
omp-riscv64.patch
disable-no-omit-leaf.diff