[PATCH] D14751: [asan] Enable halt_on_error tests on ARM targets

Yury Gribov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 09:43:54 PST 2015


ygribov created this revision.
ygribov added a reviewer: rengolin.
ygribov added a subscriber: llvm-commits.
ygribov set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

This patch enables recent halt_on_error feature on ARM targets. We've tested it locally on Juno and it seems to work robustly (which is expected as the feature is rather primitive).

Repository:
  rL LLVM

http://reviews.llvm.org/D14751

Files:
  test/asan/TestCases/Posix/halt_on_error-signals.c
  test/asan/TestCases/Posix/halt_on_error-torture.cc

Index: test/asan/TestCases/Posix/halt_on_error-torture.cc
===================================================================
--- test/asan/TestCases/Posix/halt_on_error-torture.cc
+++ test/asan/TestCases/Posix/halt_on_error-torture.cc
@@ -12,8 +12,6 @@
 // This one is racy although _very_ unlikely to fail:
 // RUN: FileCheck %s < 10.txt
 // RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 1.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 1.txt
-//
-// REQUIRES: stable-runtime
 
 #include <stdio.h>
 #include <stdlib.h>
Index: test/asan/TestCases/Posix/halt_on_error-signals.c
===================================================================
--- test/asan/TestCases/Posix/halt_on_error-signals.c
+++ test/asan/TestCases/Posix/halt_on_error-signals.c
@@ -6,8 +6,6 @@
 // RUN: env ASAN_OPTIONS=halt_on_error=false %run %t 100 >%t.log 2>&1 || true
 // Collision will almost always get triggered but we still need to check the unlikely case:
 // RUN: FileCheck --check-prefix=CHECK-COLLISION %s < %t.log || FileCheck --check-prefix=CHECK-NO-COLLISION %s < %t.log
-//
-// REQUIRES: stable-runtime
 
 #define _SVID_SOURCE 1  // SA_NODEFER
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14751.40404.patch
Type: text/x-patch
Size: 1153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151117/14aa51b1/attachment.bin>


More information about the llvm-commits mailing list