[compiler-rt] r274579 - [asan] Update tests according to r274578

Ryan Govostes via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 14:53:23 PDT 2016


Author: rgov
Date: Tue Jul  5 16:53:23 2016
New Revision: 274579

URL: http://llvm.org/viewvc/llvm-project?rev=274579&view=rev
Log:
[asan] Update tests according to r274578

Modified:
    compiler-rt/trunk/test/asan/TestCases/Darwin/dead-strip.c
    compiler-rt/trunk/test/asan/TestCases/initialization-bug.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/dead-strip.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/dead-strip.c?rev=274579&r1=274578&r2=274579&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/dead-strip.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/dead-strip.c Tue Jul  5 16:53:23 2016
@@ -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
 

Modified: compiler-rt/trunk/test/asan/TestCases/initialization-bug.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/initialization-bug.cc?rev=274579&r1=274578&r2=274579&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/initialization-bug.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/initialization-bug.cc Tue Jul  5 16:53:23 2016
@@ -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




More information about the llvm-commits mailing list