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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187711 91177308-0d34-0410-b5e6-96231b3b80d8

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

index c8128369573152ad6eac58731fcbc22eef36ef8e..d080d9dd4b0cac54d64b4fe42e9853ebddc2c2e2 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 6dc9574bbe4b19e5ebf00a6c147cc119a690eb85..0eda5667ba4a9e8372b85cc3ed105fa26f7cd056 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 5a45f846e1039f79ea7c4bf6f51eaf0c008c969b..29a03b83107760e5c00629d3387b9f5036a87cb7 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 ea41edfcbbd893ddb2594ca52f57542aa747fc36..14c1153fa5698ae0519be69bf666609a602f6f1e 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 ddb02ecf569e1d43edb5a0a2da7b27a653d44770..c018674f9b43820812dc87cd309725d1bc1f7f38 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")