From 9c6d857c61924dc1a4c271c530bc8280bff0da92 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Sun, 4 Aug 2013 23:55:24 +0000 Subject: [PATCH] Remove "lto_on_osx" xfails, now that -rdynamic works on Darwin. 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 | 1 - test/BugPoint/metadata.ll | 1 - test/BugPoint/remove_arguments_test.ll | 1 - test/Feature/load_module.ll | 1 - test/lit.cfg | 4 ---- 5 files changed, 8 deletions(-) diff --git a/test/BugPoint/crash-narrowfunctiontest.ll b/test/BugPoint/crash-narrowfunctiontest.ll index c8128369573..d080d9dd4b0 100644 --- a/test/BugPoint/crash-narrowfunctiontest.ll +++ b/test/BugPoint/crash-narrowfunctiontest.ll @@ -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 } diff --git a/test/BugPoint/metadata.ll b/test/BugPoint/metadata.ll index 6dc9574bbe4..0eda5667ba4 100644 --- a/test/BugPoint/metadata.ll +++ b/test/BugPoint/metadata.ll @@ -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. diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll index 5a45f846e10..29a03b83107 100644 --- a/test/BugPoint/remove_arguments_test.ll +++ b/test/BugPoint/remove_arguments_test.ll @@ -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. diff --git a/test/Feature/load_module.ll b/test/Feature/load_module.ll index ea41edfcbbd..14c1153fa56 100644 --- a/test/Feature/load_module.ll +++ b/test/Feature/load_module.ll @@ -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 diff --git a/test/lit.cfg b/test/lit.cfg index ddb02ecf569..c018674f9b4 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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") -- 2.34.1