summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* Make sure to print a stack trace whenever an error signal is delivered to theChris Lattner2004-02-19
| | | | | | | tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11632 91177308-0d34-0410-b5e6-96231b3b80d8
* Be a bit more robust. Explicitly check for a code generator crash.Chris Lattner2004-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11624 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ToolExecutionError inherit std::exception and implement itsAlkis Evlogimenos2004-02-19
| | | | | | | interface: getMessage() is gone, use what() instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11621 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the "horribly N^2'd" problem when deleting individual instructions.Chris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11617 91177308-0d34-0410-b5e6-96231b3b80d8
* * Predicate the optimizer crash debugger on a function.Chris Lattner2004-02-18
| | | | | | | * Implement a new code generator crash debugger which uses this predicate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11614 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new method for use by the code generator crash debugger.Chris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11613 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't crash if there are no passes in the PassesToRun listChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11612 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for just running the code generatorChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11611 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for just compiling a programChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11610 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the executeProgram method exception safe, not leaving around bytecodeChris Lattner2004-02-18
| | | | | | | files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11607 91177308-0d34-0410-b5e6-96231b3b80d8
* Make more stuff public. Make the instruction argument toChris Lattner2004-02-18
| | | | | | | deleteInstructionFromProgram be const git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11606 91177308-0d34-0410-b5e6-96231b3b80d8
* make a bunch of methods publicChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11605 91177308-0d34-0410-b5e6-96231b3b80d8
* A couple of minor cleanups: don't forward declare private classes, put privateChris Lattner2004-02-18
| | | | | | | classes in an anon namespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11604 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup and simplify manipulation of the program, eliminate the need for soChris Lattner2004-02-18
| | | | | | | many 'friends' of bugdriver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11603 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a stub for debugging code generator crashesChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11602 91177308-0d34-0410-b5e6-96231b3b80d8
* indent correctlyChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11601 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't yell. BUGPOINT should yell, not the tool runner :)Chris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11600 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comments, if we are running with the CBE, make sure the InterpreterChris Lattner2004-02-18
| | | | | | | variable and the CBE variable are pointer equal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11599 91177308-0d34-0410-b5e6-96231b3b80d8
* Byebye methodChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11598 91177308-0d34-0410-b5e6-96231b3b80d8
* If there is an error running a tool, include the error message (e.g. ↵Chris Lattner2004-02-18
| | | | | | assertion failure) in the exception git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11597 91177308-0d34-0410-b5e6-96231b3b80d8
* ctor arguments changed orderChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11595 91177308-0d34-0410-b5e6-96231b3b80d8
* Catch exception and print message as appropriateChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11594 91177308-0d34-0410-b5e6-96231b3b80d8
* When an error occurs executing a tool, we now throw an exception insteadChris Lattner2004-02-18
| | | | | | | of calling exit(1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11593 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugpoint will be throwing exceptions soon, perpare for the worst.Chris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11584 91177308-0d34-0410-b5e6-96231b3b80d8
* This class got moved to FileUtilities.hChris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11583 91177308-0d34-0410-b5e6-96231b3b80d8
* Give extract -o and -f options, just like every other tool!Chris Lattner2004-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11580 91177308-0d34-0410-b5e6-96231b3b80d8
* The CBE is now in llc, not llvm-disChris Lattner2004-02-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11534 91177308-0d34-0410-b5e6-96231b3b80d8
* The C backend is no longer in llvm-dis, it's in llcChris Lattner2004-02-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11533 91177308-0d34-0410-b5e6-96231b3b80d8
* The CBE is no longer in llvm-disChris Lattner2004-02-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11532 91177308-0d34-0410-b5e6-96231b3b80d8
* When the user runs 'llc foo.bc -march=c', write the output to "foo.cbe.c", notChris Lattner2004-02-15
| | | | | | | to "foo.s". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11485 91177308-0d34-0410-b5e6-96231b3b80d8
* Break a line that's over 80cols into two.Misha Brukman2004-02-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11423 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not advertise our -c option anymoreChris Lattner2004-02-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11413 91177308-0d34-0410-b5e6-96231b3b80d8
* Mercilessly rip the cbackend out of llvm-dis. Leave a helpful error messageChris Lattner2004-02-13
| | | | | | | for those who have not heard the news. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11412 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for -march=cChris Lattner2004-02-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11410 91177308-0d34-0410-b5e6-96231b3b80d8
* Change how we create the cwriter, and add a buttload of libraries that it nowChris Lattner2004-02-13
| | | | | | | needs. This will be fixed shortly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11407 91177308-0d34-0410-b5e6-96231b3b80d8
* Add check-exit-code option, defaulting to true.Brian Gaeke2004-02-11
| | | | | | | | | | | | | | | | Add ProgramExitedNonzero argument to executeProgram(), and make it tell its caller whether the program exited nonzero. Move executeProgramWithCBE() out of line, to ExecutionDriver.cpp, and remove its extra arguments which are always defaulted. Make it turn off check-exit-code if the program exits nonzero while generating a reference output. Make diffProgram() assume that any nonzero exit code is a failure, if check-exit-code is turned on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11325 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor profile information loading OUT of llvm-prof into libanalysisChris Lattner2004-02-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11316 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix indentation of selectiondag.Brian Gaeke2004-02-08
| | | | | | | I don't know why its indentation has been bugging me, but it has. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11180 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor change to breakpoint (lack of) supportChris Lattner2004-02-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11169 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a -march=powerpc option. Automatically select it if this looks like aBrian Gaeke2004-02-02
| | | | | | | | big-endian, 32-bit module, or if __ppc__, __POWERPC__, or __APPLE__ are defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11075 91177308-0d34-0410-b5e6-96231b3b80d8
* Link in the PowerPC back-end.Brian Gaeke2004-02-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11074 91177308-0d34-0410-b5e6-96231b3b80d8
* Now that tailduplication does not bork SSA form, run mem2reg earlier in gccas.Chris Lattner2004-02-01
| | | | | | | | | | | This tremendously improves the code generated by the LLVM optimizer, primarily by making the inliner more aggressive. For example, it improves the stepanov benchmark from 55.56 mega-additions/sec to 98.04 Ma/s. It also improves the oopack/iterator benchmark from 338.3MFLOPS/s to 1103.4MFLOPS/s. Less noteworthy, it improves oopack/matrix from 573 -> 641 MFLOPS/s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11053 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed PR#197. The libcrtend library is removed from the library linking listJohn Criswell2004-01-26
| | | | | | | when creating native executables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10979 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so intoJohn Criswell2004-01-26
| | | | | | | every file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10976 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to verify the result before writing out the bytecode file. Not doingChris Lattner2004-01-14
| | | | | | | so can cause obscure errors downstream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10840 91177308-0d34-0410-b5e6-96231b3b80d8
* finegrainify namespacificationChris Lattner2004-01-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10839 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove standard C header wrappersChris Lattner2004-01-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10748 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove wrappers around std c filesChris Lattner2004-01-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10744 91177308-0d34-0410-b5e6-96231b3b80d8
* Ugh, fix some copy and pasted code that somehow never got compiled or somethingChris Lattner2004-01-06
| | | | | | | :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10706 91177308-0d34-0410-b5e6-96231b3b80d8
* * Implement set/show argsChris Lattner2004-01-06
| | | | | | | | * Implement support for arguments to the 'run' command * Minor cleanups and fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10703 91177308-0d34-0410-b5e6-96231b3b80d8