summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Govostes <rzg@apple.com>2016-07-05 21:53:23 +0000
committerRyan Govostes <rzg@apple.com>2016-07-05 21:53:23 +0000
commitb395d7271d11ba9e0337fb18f617e6c21cfeae9c (patch)
tree7e6e42bc1a3c59243efb26a3c54e4f30e532a031
parente51401bdab3405f1d4aac4b1c4060a5b235be44a (diff)
downloadbcm5719-llvm-b395d7271d11ba9e0337fb18f617e6c21cfeae9c.tar.gz
bcm5719-llvm-b395d7271d11ba9e0337fb18f617e6c21cfeae9c.zip
[asan] Update tests according to r274578
llvm-svn: 274579
-rw-r--r--compiler-rt/test/asan/TestCases/Darwin/dead-strip.c2
-rw-r--r--compiler-rt/test/asan/TestCases/initialization-bug.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c b/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
index e016e372b78..212dedd469c 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
+++ b/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
@@ -6,7 +6,7 @@
// runtime is able to register globals in the __DATA,__asan_globals section.
// REQUIRES: osx-ld64-live_support
-// RUN: %clang_asan -Xlinker -dead_strip -o %t %s
+// RUN: %clang_asan -mllvm -asan-globals-live-support -Xlinker -dead_strip -o %t %s
// RUN: llvm-nm -format=posix %t | FileCheck --check-prefix NM-CHECK %s
// RUN: not %run %t 2>&1 | FileCheck --check-prefix ASAN-CHECK %s
diff --git a/compiler-rt/test/asan/TestCases/initialization-bug.cc b/compiler-rt/test/asan/TestCases/initialization-bug.cc
index 1f843becaed..6f361cb2bad 100644
--- a/compiler-rt/test/asan/TestCases/initialization-bug.cc
+++ b/compiler-rt/test/asan/TestCases/initialization-bug.cc
@@ -6,7 +6,7 @@
// Do not test with optimization -- the error may be optimized away.
// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=186
-// XFAIL: win32
+// XFAIL: darwin,win32
// The test is expected to fail on OS X Yosemite and older
// UNSUPPORTED: osx-no-ld64-live_support
OpenPOWER on IntegriCloud