Remove "lto_on_osx" xfails, now that -rdynamic works on Darwin.
authorBob Wilson <bob.wilson@apple.com>
Sun, 4 Aug 2013 23:55:24 +0000 (23:55 +0000)
committerBob Wilson <bob.wilson@apple.com>
Sun, 4 Aug 2013 23:55:24 +0000 (23:55 +0000)
Note that this will require a recent version of the linker for Darwin
builds with LTO to pass these tests.

llvm-svn: 187711

llvm/test/BugPoint/crash-narrowfunctiontest.ll
llvm/test/BugPoint/metadata.ll
llvm/test/BugPoint/remove_arguments_test.ll
llvm/test/Feature/load_module.ll
llvm/test/lit.cfg

index c812836..d080d9d 100644 (file)
@@ -2,7 +2,6 @@
 ;
 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
 ; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
 
 define i32 @foo() { ret i32 1 }
 
index 6dc9574..0eda566 100644 (file)
@@ -1,7 +1,6 @@
 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
 ; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
 
 ; Bugpoint should keep the call's metadata attached to the call.
 
index 5a45f84..29a03b8 100644 (file)
@@ -1,7 +1,6 @@
 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
 ; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
 
 ; Test to make sure that arguments are removed from the function if they are 
 ; unnecessary. And clean up any types that that frees up too.
index ea41edf..14c1153 100644 (file)
@@ -2,7 +2,6 @@
 ; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
 ; RUN:   -disable-output 2>&1 | grep Hello
 ; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
 ; FIXME: On Cygming, it might fail without building LLVMHello manually.
 
 @junk = global i32 0
index ddb02ec..c018674 100644 (file)
@@ -264,10 +264,6 @@ else:
 if loadable_module:
     config.available_features.add('loadable_module')
 
-# LTO on OS X
-if config.lto_is_enabled == "1" and platform.system() == "Darwin":
-    config.available_features.add('lto_on_osx')
-
 # Sanitizers.
 if config.llvm_use_sanitizer == "Address":
     config.available_features.add("asan")