File: 0002-Disable-test_asan_heap.c-for-arm-30.patch

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-20
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,496,436 kB
  • sloc: cpp: 5,593,990; ansic: 986,873; asm: 585,869; python: 184,223; objc: 72,530; lisp: 31,119; f90: 27,793; javascript: 9,780; pascal: 9,762; sh: 9,482; perl: 7,468; ml: 5,432; awk: 3,523; makefile: 2,547; xml: 953; cs: 573; fortran: 567
file content (26 lines) | stat: -rw-r--r-- 897 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 77f09cd056d5183fa048d2b8fdc29302dca25ed7 Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre@debian.org>
Date: Mon, 19 Oct 2020 14:43:32 +0200
Subject: [PATCH 2/3] Disable test_asan_heap.c for arm (#30)

Unsupported on this arch:
clang: error: unsupported option '-fsanitize=thread' for target 'armv7l-unknown-linux-gnueabihf'
---
 tests/test_asan_heap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/integration-test-suite/tests/test_asan_heap.c b/tests/test_asan_heap.c
index 828ac4f..f021703 100644
--- a/integration-test-suite/tests/test_asan_heap.c
+++ b/integration-test-suite/tests/test_asan_heap.c
@@ -4,6 +4,7 @@
 // RUN: %clang -o %t -fsanitize=address -O1 -fno-omit-frame-pointer -g %s
 // RUN: env ASAN_OPTIONS="log_path=stdout:exitcode=0"  %t 2>&1 > %t.out
 // RUN: grep -q "heap-use-after-free" %t.out
+// XFAIL: arm
 
 #include <stdlib.h>
 int main() {
-- 
2.28.0