This commit is contained in:
parent
4fe148dd48
commit
abf1755e5e
17
asan-disable-hugemalloctest.patch
Normal file
17
asan-disable-hugemalloctest.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: llvm/projects/compiler-rt/lib/asan/tests/asan_test.cc
|
||||
===================================================================
|
||||
--- llvm.orig/projects/compiler-rt/lib/asan/tests/asan_test.cc
|
||||
+++ llvm/projects/compiler-rt/lib/asan/tests/asan_test.cc
|
||||
@@ -298,12 +298,6 @@ TEST(AddressSanitizer, LargeMallocTest)
|
||||
}
|
||||
}
|
||||
|
||||
-TEST(AddressSanitizer, HugeMallocTest) {
|
||||
- if (SANITIZER_WORDSIZE != 64) return;
|
||||
- size_t n_megs = 4100;
|
||||
- TestLargeMalloc(n_megs << 20);
|
||||
-}
|
||||
-
|
||||
#ifndef __APPLE__
|
||||
void MemalignRun(size_t align, size_t size, int idx) {
|
||||
char *p = (char *)memalign(align, size);
|
@ -43,6 +43,8 @@ Patch7: cmake-host-triple.patch
|
||||
# PATCH-FIX-OPENSUSE aarch64-suse-support.patch -- Enable AArch64 suse toolchain support
|
||||
Patch8: aarch64-suse-support.patch
|
||||
Patch9: arm-remove-xfails.diff
|
||||
# PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest
|
||||
Patch10: asan-disable-hugemalloctest.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -151,6 +153,7 @@ This package contains vim plugins for LLVM like syntax highlighting.
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
|
||||
# We hardcode i586
|
||||
rm tools/clang/test/Driver/x86_features.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user