summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/bugpoint.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Run opt instead of bugpoint itself.Rafael Espindola2010-08-071-8/+1
| | | | llvm-svn: 110524
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-1/+2
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-2/+1
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-1/+2
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Revert bugpoint change due to buildbot breakage.Bob Wilson2010-08-051-1/+8
| | | | | | | | | | --- Reverse-merging r110333 into '.': U tools/bugpoint/BugDriver.h U tools/bugpoint/OptimizerDriver.cpp U tools/bugpoint/bugpoint.cpp U tools/bugpoint/BugDriver.cpp llvm-svn: 110341
* Run opt instead of bugpoint itself.Rafael Espindola2010-08-051-8/+1
| | | | | | Fixes PR753. llvm-svn: 110333
* Speculatively revert r108813, in an attempt to get the self-host buildbots ↵Owen Anderson2010-07-201-2/+2
| | | | | | | | working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818
* Reapply r108794, a fix for the failing test from last time.Owen Anderson2010-07-201-2/+2
| | | | llvm-svn: 108813
* Revert r108794, "Separate PassInfo into two classes: a constructor-freeDaniel Dunbar2010-07-201-2/+2
| | | | | | | superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. llvm-svn: 108805
* Separate PassInfo into two classes: a constructor-free superclass ↵Owen Anderson2010-07-201-2/+2
| | | | | | (StaticPassInfo) and a constructor-ful subclass (PassInfo). llvm-svn: 108794
* Remove use of exceptions from bugpoint. No deliberate functionality change!Nick Lewycky2010-04-121-18/+6
| | | | llvm-svn: 101013
* Bugpoint's default memory limit (100MB) was too low for valgrind, soJeffrey Yasskin2010-03-191-4/+20
| | | | | | | this patch raises the default to 800MB when valgrind's active. 800 was chosen semi-arbitrarily. llvm-svn: 98905
* only print the override triple if it exists!Chris Lattner2009-08-311-2/+3
| | | | llvm-svn: 80534
* Change bugpoint to use Triple to make runtime decisions.Daniel Dunbar2009-08-181-1/+10
| | | | | | | | | - This is cleaner, and makes bugpoint match the host instead of the build architecture. - Patch by Sandeep Patel! llvm-svn: 79309
* MSVC warning fixes; patch by Stein Roger!Daniel Dunbar2009-08-071-1/+1
| | | | llvm-svn: 78405
* Pass true to the Internalize parameter of createStandardLTOPasses,Dan Gohman2009-07-271-1/+1
| | | | | | to match llvm-ld's default behavior. llvm-svn: 77273
* Add -std-{compile,link}-opts to bugpoint.Daniel Dunbar2009-07-201-0/+40
| | | | | | - Sheesh. llvm-svn: 76402
* Convert more tools code from cerr and cout to errs() and outs().Dan Gohman2009-07-161-1/+0
| | | | llvm-svn: 76070
* To simplify the upcoming context-on-type change, switch all command line ↵Owen Anderson2009-07-151-1/+1
| | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846
* Use errs() instead of std::cerr.Dan Gohman2009-07-151-10/+10
| | | | llvm-svn: 75791
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74640
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-011-2/+4
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* Improve bugpoint's error messages when it runs out of memory,Dan Gohman2009-04-271-0/+8
| | | | | | or when some other std::exception is thrown. llvm-svn: 70175
* Change various llvm utilities to use PrettyStackTraceProgram inChris Lattner2009-03-061-2/+4
| | | | | | | their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
* fix bugpoint url, patch by Pieter de Bie!Chris Lattner2009-02-071-1/+1
| | | | llvm-svn: 64022
* Fix a missing space in the description of the find-bugs option.Dan Gohman2008-02-181-1/+1
| | | | llvm-svn: 47271
* remove attributions from tools.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45421
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-161-1/+5
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-061-0/+2
| | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250
* Need <iostream> for the time being.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31821
* For PR885:Reid Spencer2006-08-211-2/+1
| | | | | | | Consolidate the LinkAllAnalyses.h and LinkAllPasses.h headers into one so there is no dupliation. llvm-svn: 29787
* This commit adds a new feature called find-bugs. The find-bugs option can be ↵Patrick Jenkins2006-08-151-3/+7
| | | | | | invoked on a .bc file from the command like with -find-bugs and a list of passes you wish to test. This procedure takes the set of optimization passes the user specifies, randomizes the passes, runs the passes on the specified .bc file, compiles the program, and finally runs the program checking its output vs the .bc file with no optimizations. This process repeats until either the user kills bugpoint or an error occurs in the optimizations, program complitation, or the running of the program. If an error occurs, bugpoint attempts to diagnose the error by eliminating passes that are not at fault and code that is not needed. llvm-svn: 29703
* Teach bugpoint to kill optimization passes that run over the timeout limit,Chris Lattner2006-06-131-1/+6
| | | | | | | which allows it to debug optimizer infinite loops. This patch is contributed by Nick Lewycky, thanks! llvm-svn: 28763
* Make sure this tool links in all of libVMCore.a because it can --loadReid Spencer2006-06-071-0/+1
| | | | | | shared objects. llvm-svn: 28720
* Move ToolRunner.(cpp|h) into the bugpoint directoryChris Lattner2006-06-061-1/+1
| | | | llvm-svn: 28699
* Convert llvm.cs.uiuc.edu -> llvm.orgReid Spencer2006-03-141-1/+1
| | | | llvm-svn: 26748
* For PR351:Reid Spencer2005-12-221-1/+8
| | | | | | | | | | | | Generally, remove use of fork/exec from bugpoint in favor of the portable sys::Program::ExecuteAndWait method. This change requires two new options to bugpoint to tell it that it is running in "child" mode. In this mode, it reads its input and runs the passes. The result code signals to the parent instance of bugpoint what happened (success, fail, crash). This change should make bugpoint usable on Win32 systems. llvm-svn: 24961
* Link to archive versions of libraries instead of the relinked onesChris Lattner2005-10-241-0/+2
| | | | llvm-svn: 23925
* When the user hits ctrl-c, bugpoint should attempt to stop reduction asChris Lattner2005-08-021-1/+9
| | | | | | | quickly as possible and output what it has so far. If they hit it twice, bugpoint is killed. llvm-svn: 22579
* Remove trailing whitespaceMisha Brukman2005-04-221-2/+2
| | | | llvm-svn: 21428
* For PR351:Reid Spencer2004-12-301-2/+3
| | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. llvm-svn: 19192
* For PR351:Reid Spencer2004-12-271-2/+2
| | | | | | * sys::PreventCoreFiles -> sys::Process::PreventCoreFiles llvm-svn: 19162
* llvm/Config/unistd.h has gone away, far, far awayMisha Brukman2004-12-201-2/+0
| | | | llvm-svn: 19068
* Changes For Bug 352Reid Spencer2004-09-011-12/+7
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* The functions in Signal.h are now in the llvm::sys namespace - adjustReid Spencer2004-08-291-1/+1
| | | | llvm-svn: 16091
* * Convert "\n" -> '\n'Misha Brukman2004-07-231-1/+1
| | | | | | | * Print out another '\n' after printing out program execution status * Make sure code wraps at 80 cols llvm-svn: 15123
* Add -load optionChris Lattner2004-07-111-0/+1
| | | | llvm-svn: 14740
* Header file movedChris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13813
* Make sure to print a stack trace whenever an error signal is deliveredChris Lattner2004-02-191-0/+2
| | | | | | to the tool. llvm-svn: 11634
OpenPOWER on IntegriCloud