Fix this test and don't run it in ASan bootstrap
llvm-svn: 200291
This commit is contained in:
parent
40e7522ebd
commit
b80effdfe1
|
@ -4,13 +4,13 @@
|
|||
// Check that we don't get stack overflow trying to annotate an extremely deep AST.
|
||||
|
||||
// AddressSanitizer increases stack usage.
|
||||
// XFAIL: asan
|
||||
// REQUIRES: not_asan
|
||||
|
||||
struct S {
|
||||
S &operator()();
|
||||
};
|
||||
|
||||
// CHECK: Identifier: "foo" [11:6 - 11:9] FunctionDecl=foo:11:6 (Definition)
|
||||
// CHECK: Identifier: "foo" {{\[}}[[@LINE+1]]:6 - [[@LINE+1]]:9] FunctionDecl=foo:[[@LINE+1]]:6 (Definition)
|
||||
void foo() {
|
||||
S s;
|
||||
s()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
|
||||
|
|
|
@ -371,6 +371,8 @@ if lit.util.which('xmllint'):
|
|||
# Sanitizers.
|
||||
if config.llvm_use_sanitizer == "Address":
|
||||
config.available_features.add("asan")
|
||||
else:
|
||||
config.available_features.add("not_asan")
|
||||
if (config.llvm_use_sanitizer == "Memory" or
|
||||
config.llvm_use_sanitizer == "MemoryWithOrigins"):
|
||||
config.available_features.add("msan")
|
||||
|
|
Loading…
Reference in New Issue