forked from OSchip/llvm-project
[asan] Disable tests more selectively.
Add "target-arch+host-os" to the feature list to enable disabling the tests I committed in r279614 and r279880 more selectively. llvm-svn: 279918
This commit is contained in:
parent
26709df81d
commit
0b2628df1a
|
@ -9,7 +9,7 @@
|
|||
// RUN: %env_asan_opts=symbolize=0 not %run %t 2>&1 | %asan_symbolize | FileCheck %s
|
||||
// XFAIL: arm-linux-gnueabi
|
||||
// XFAIL: armv7l-unknown-linux-gnueabihf
|
||||
// UNSUPPORTED: x86_64h-apple,x86_64-apple
|
||||
// UNSUPPORTED: x86_64h-darwin,x86_64-darwin
|
||||
|
||||
#if !defined(SHARED_LIB)
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -104,6 +104,7 @@ if target_arch:
|
|||
config.available_features.add(target_arch + '-target-arch')
|
||||
if target_arch in ['x86_64', 'i386', 'i686']:
|
||||
config.available_features.add('x86-target-arch')
|
||||
config.available_features.add(target_arch + '-' + config.host_os.lower())
|
||||
|
||||
compiler_rt_debug = getattr(config, 'compiler_rt_debug', False)
|
||||
if not compiler_rt_debug:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: %clangxx -O0 %s -o %t
|
||||
// RUN: %env_tool_opts=strip_path_prefix=/TestCases/ %run %t 2>&1 | FileCheck %s
|
||||
// REQUIRES: x86_64-target-arch
|
||||
// UNSUPPORTED: i386-darwin
|
||||
//
|
||||
// Tests __sanitizer_symbolize_pc.
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue