aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/BugPoint/crash-narrowfunctiontest.ll
AgeCommit message (Collapse)AuthorFilesLines
2021-04-27[AIX] Add %pluginext and update tests to use proper pluginextDavid Tenty1-1/+1
As a follow on to D96282, since bug point passes is built as a module the proper file extension to use is LLVM_PLUGIN_EXT, rather than SHLIBEXT. Using SHLIBEXT causes the tests to load a non-existent file on AIX. We also adjust the PluginsTest unittest to use LLVM_PLUGIN_EXT for similar reasons. This change should hopefully make little difference to other platforms, since generally `SHLIBEXT=LTDL_SHLIB_EXT=CMAKE_SHARED_LIBRARY_SUFFIX` and `LLVM_PLUGIN_EXT=CMAKE_SHARED_LIBRARY_SUFFIX` on every platform except AIX. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D101412
2019-05-17[Bugpoint] Only run plugins tests if plugins are enabledPetr Hosek1-1/+1
This is a followup to r360991 which applies the same logic to LLVM. Differential Revision: https://reviews.llvm.org/D62050 llvm-svn: 360993
2018-12-10[bugpoint] Find 'opt', etc., in bugpoint directoryBrian Gesiak1-1/+1
Summary: When bugpoint attempts to find the other executables it needs to run, such as `opt` or `clang`, it tries searching the user's PATH. However, in many cases, the 'bugpoint' executable is part of an LLVM build, and the 'opt' executable it's looking for is in that same directory. Many LLVM tools handle this case by using the `Paths` parameter of `llvm::sys::findProgramByName`, passing the parent path of the currently running executable. Do this same thing for bugpoint. However, to preserve the current behavior exactly, first search the user's PATH, and then search for 'opt' in the directory containing 'bugpoint'. Test Plan: `check-llvm`. Many of the existing bugpoint tests no longer need to use the `--opt-command` option as a result of these changes. Reviewers: MatzeB, silvas, davide Reviewed By: MatzeB, davide Subscribers: davide, llvm-commits Differential Revision: https://reviews.llvm.org/D54884 llvm-svn: 348734
2018-02-09[bugpoint] Avoid noisy errors by passing a valid opt to testsVedant Kumar1-1/+1
If the tests don't use the in-tree opt, we're liable to see some silly error messages due to the version mismatch (missing flags, etc). llvm-svn: 324703
2013-08-04Remove "lto_on_osx" xfails, now that -rdynamic works on Darwin.Bob Wilson1-1/+0
Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. llvm-svn: 187711
2012-10-26Fix unexpected passes. These test do work with LTO on linux. I tested bothRafael Espindola1-1/+1
a cmake and an autoconf build. llvm-svn: 166748
2012-10-18Mark bugpoint tests with XFAIL when building with LTO. <rdar://problem/12473675>Bob Wilson1-0/+1
The LTO Internalize pass is hiding symbols needed by the bugpoint-passes plug-in. We need to add a flag to control whether Internalize should be run. This is a temporary workaround to make these tests pass in the meantime. llvm-svn: 166239
2010-11-29test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.NAKAMURA Takumi1-3/+2
%llvmshlibdir should be 'bin' on Cygming. llvm-svn: 120282
2010-08-09XFAIL for mingw that has no plugins.Rafael Espindola1-0/+1
llvm-svn: 110574
2010-08-08Use %shlibext instead of .soRafael Espindola1-1/+1
llvm-svn: 110529
2010-08-07Move the bugpoint test passes to a plugin in preparation for having bugpointRafael Espindola1-1/+2
use opt. llvm-svn: 110520
2009-09-07Use -output-prefix in bugpoint tests so that outputs go in temp directory (andDaniel Dunbar1-1/+1
we don't race on them). llvm-svn: 81155
2008-06-12Pass -silence-passes to bugpoint in testcases, this makes two out of three ↵Matthijs Kooijman1-1/+1
bugpoint testcases work again. llvm-svn: 52236
2007-03-19Don't upgrade these.Reid Spencer1-8/+6
llvm-svn: 35166
2007-01-17Regression is gone, don't try to find it on clean target.Reid Spencer1-0/+14
llvm-svn: 33296