From: Anna Zaks Date: Thu, 17 Nov 2016 16:56:11 +0000 (+0000) Subject: [asan] Update the tests as Mach-O metadata liveness tracking is on by default X-Git-Tag: llvmorg-4.0.0-rc1~4293 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4cb4c7f4b1fb4c1b67afba4de1e933539ceb7b61;p=platform%2Fupstream%2Fllvm.git [asan] Update the tests as Mach-O metadata liveness tracking is on by default This commit reverts r274579. llvm-svn: 287236 --- diff --git a/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c b/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c index 66a4da2..f87a5e52b 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 -mmacosx-version-min=10.11 -mllvm -asan-globals-live-support -Xlinker -dead_strip -o %t %s +// RUN: %clang_asan -mmacosx-version-min=10.11 -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 6f361cb..1f843be 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: darwin,win32 +// XFAIL: win32 // The test is expected to fail on OS X Yosemite and older // UNSUPPORTED: osx-no-ld64-live_support