summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the right gcc tool args for IsARMArchitecture.Jakob Stoklund Olesen2010-07-291-3/+3
| | | | llvm-svn: 109714
* Instead of abusing swapProgramIn, just add a Module argument toRafael Espindola2010-07-285-36/+28
| | | | | | EmitProgressBitcode. llvm-svn: 109602
* Clone and restore the module being reduced inRafael Espindola2010-07-261-6/+27
| | | | | | | | | | | ReduceMiscompilingFunctions::TestFuncs. This makes the test functional (i.e., no side effects). Before we would end up using dead functions if a pass decided to remove them (inline for example) and we would also keep broken functions and conclude that that a single function was enough to reproduce the bug. llvm-svn: 109387
* Revert unintended white space change.Rafael Espindola2010-07-241-1/+1
| | | | llvm-svn: 109364
* Fix a trivial use after free.Rafael Espindola2010-07-241-2/+6
| | | | llvm-svn: 109363
* Speculatively revert r108813, in an attempt to get the self-host buildbots ↵Owen Anderson2010-07-208-37/+34
| | | | | | | | 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-208-34/+37
| | | | llvm-svn: 108813
* Revert r108794, "Separate PassInfo into two classes: a constructor-freeDaniel Dunbar2010-07-208-37/+34
| | | | | | | 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-208-34/+37
| | | | | | (StaticPassInfo) and a constructor-ful subclass (PassInfo). llvm-svn: 108794
* Convert some tab stops into spaces.Duncan Sands2010-07-123-4/+4
| | | | llvm-svn: 108130
* Use ValueMap instead of DenseMap.Devang Patel2010-06-244-41/+41
| | | | | | The ValueMapper used by various cloning utility maps MDNodes also. llvm-svn: 106706
* Save more temps with -save-temps.Rafael Espindola2010-06-211-3/+7
| | | | llvm-svn: 106409
* Run dead type elimination after dead argument elimination.Dan Gohman2010-06-071-1/+2
| | | | llvm-svn: 105552
* Use ->isVoidTy().Dan Gohman2010-06-073-5/+4
| | | | llvm-svn: 105550
* No need to special-case structs here; structs are first-class now.Dan Gohman2010-06-051-3/+1
| | | | llvm-svn: 105513
* No need to special-case structs here; structs are first-class now.Dan Gohman2010-06-041-3/+1
| | | | llvm-svn: 105442
* Eliminate some unnessary Path::exists() calls.Dan Gohman2010-05-271-2/+1
| | | | llvm-svn: 104888
* Apply timeouts and memory limits in more places. In particular, whenDuncan Sands2010-05-243-21/+40
| | | | | | | | bugpoint does "Running the code generator to test for a crash" this gets you a crash if llc goes into an infinite loop or uses up vast amounts of memory. llvm-svn: 104485
* Fix complete badness in bugpoint's IsARMArchitecture() function.Jakob Stoklund Olesen2010-05-131-3/+2
| | | | | | | | | | The revision history for this function is interesting, with multiple layers of wrongness being introduced one at a time. This fixes a weird issue where bugpoint -run-llc would suddenly exit 13 half way through isolating a miscompilation. llvm-svn: 103721
* Fix PR6951 by fixing Module leaks in bugpoint.Jeffrey Yasskin2010-05-111-7/+7
| | | | llvm-svn: 103523
* Add command line option --gcc to bugpoint.Kalle Raiskila2010-05-103-17/+30
| | | | | | Remove sending duplicate of the --gcc-tool-args parameters to gcc. llvm-svn: 103397
* The llc -f flag was removed.Nick Lewycky2010-04-292-2/+1
| | | | llvm-svn: 102670
* Don't forget cmake!Nick Lewycky2010-04-141-1/+0
| | | | llvm-svn: 101234
* Remove accidentally committed cruft.Nick Lewycky2010-04-141-3/+0
| | | | llvm-svn: 101230
* Bugpoint no longer uses exceptions.Nick Lewycky2010-04-142-4/+4
| | | | llvm-svn: 101228
* Boolify.Benjamin Kramer2010-04-121-1/+1
| | | | llvm-svn: 101035
* Remove use of exceptions from bugpoint. No deliberate functionality change!Nick Lewycky2010-04-1210-341/+463
| | | | llvm-svn: 101013
* Remove dead argument and clean whitespace. No functionality change.Nick Lewycky2010-04-103-16/+6
| | | | llvm-svn: 100954
* Trim #includes.Dan Gohman2010-03-241-1/+0
| | | | llvm-svn: 99416
* Free all Constants in ~LLVMConstantImpl. We avoid assertion failuresJeffrey Yasskin2010-03-222-0/+5
| | | | | | | | | by dropping all references from all constants that can use other constants before trying to destroy any of them. I also had to free bugpoint's Module in ~BugDriver(). llvm-svn: 99160
* Bugpoint's default memory limit (100MB) was too low for valgrind, soJeffrey Yasskin2010-03-194-9/+25
| | | | | | | this patch raises the default to 800MB when valgrind's active. 800 was chosen semi-arbitrarily. llvm-svn: 98905
* add support for bugpointing the integrated assembler. Something like thisChris Lattner2010-03-163-40/+66
| | | | | | | | | works for me: bugpoint Output/bisort.llvm.bc -run-llc-ia -safe-run-llc This uses llc with the integrated assembler as the test compiler and llc without it as the safe compiler. llvm-svn: 98618
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-162-2/+2
| | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344
* Replace strcpy with memcpy when we have the length around anyway.Benjamin Kramer2010-01-281-6/+2
| | | | llvm-svn: 94746
* remove obsolete comment.Chris Lattner2010-01-161-5/+2
| | | | llvm-svn: 93661
* bugpoint doesn't need the mangler at all. DisambiguateGlobalSymbolsChris Lattner2010-01-161-25/+5
| | | | | | | | dates to a time when two different LLVM values could have the same name but different types. Simplify it to just assign names to unnamed things and let the core symtab resolve duplicates. llvm-svn: 93660
* switch liblto to use the new getNameWithPrefix() method instead of ↵Chris Lattner2010-01-161-2/+2
| | | | | | getMangledName. llvm-svn: 93643
* Make bugpoint pass -load arguments to LLI. This lets one use bugpoint withDuncan Sands2009-11-171-4/+5
| | | | | | programs that depend on native shared libraries. Patch by Timo Lindfors. llvm-svn: 89087
* Add compare_lower and equals_lower methods to StringRef. Switch all users ofBenjamin Kramer2009-11-121-3/+3
| | | | | | StringsEqualNoCase (from StringExtras.h) to it. llvm-svn: 87020
* Introduce and use convenience methods for getting pointer typesDuncan Sands2009-10-061-2/+2
| | | | | | | where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379
* Remove the default value for ConstantStruct::get's isPacked parameter andNick Lewycky2009-09-191-2/+2
| | | | | | update the code which was broken by this. llvm-svn: 82327
* Add -output-prefix option to bugpoint (to change the default output name).Daniel Dunbar2009-09-074-11/+23
| | | | llvm-svn: 81154
* Make bugpoint use ParseIRFile instead of doing the same thing manually.Dan Gohman2009-09-031-12/+5
| | | | llvm-svn: 80927
* only print the override triple if it exists!Chris Lattner2009-08-311-2/+3
| | | | llvm-svn: 80534
* Make LLVM command-line tools overwrite their output files without -f.Dan Gohman2009-08-253-6/+4
| | | | | | | | | | | | | | | | This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990
* prune the #includes in raw_ostream.h by moving a Chris Lattner2009-08-241-0/+1
| | | | | | | member out of line. ftostr is not particularly speedy, so that method is presumably not perf sensitive. llvm-svn: 79885
* Prune #includes from llvm/Linker.h and llvm/System/Path.h,Chris Lattner2009-08-237-56/+63
| | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
* eliminate the ostream version of CheckBitcodeOutputToConsole,Chris Lattner2009-08-231-0/+1
| | | | | | | change the raw_ostream one to take the raw_ostream byref instead of byptr. Prune #includes, eliminate a use of Streams.h llvm-svn: 79863
* eliminate the std::ostream forms of the bitcode writing APIs.Chris Lattner2009-08-231-15/+17
| | | | llvm-svn: 79840
* Change raw_fd_ostream to take flags as an optional bitmask Chris Lattner2009-08-231-3/+2
| | | | | | | | | | | | | | | | instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). llvm-svn: 79807
OpenPOWER on IntegriCloud