summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ToolRunner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Let bugpoint work on sparc with v9 instructions enabled.Chris Lattner2006-02-041-0/+6
| | | | llvm-svn: 25958
* Add explicit #includes of <iostream>Chris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25509
* Revert this, I didn't mean to commit itChris Lattner2006-01-171-8/+0
| | | | llvm-svn: 25382
* Add support for programs with a null argv[0]Chris Lattner2006-01-171-0/+8
| | | | llvm-svn: 25379
* Allow bugpoint+PPC codegen to use fsqrtChris Lattner2005-08-291-0/+3
| | | | llvm-svn: 23128
* Final Changes For PR495:Reid Spencer2005-07-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
* Add support for assembling .s files on mac os x for intelNate Begeman2005-07-081-1/+1
| | | | | | Add support for running bugpoint on mac os x for intel llvm-svn: 22351
* For PR495:Reid Spencer2005-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* Remove trailing whitespaceMisha Brukman2005-04-211-18/+18
| | | | llvm-svn: 21422
* yay for camel_cvs diffAndrew Lenharth2005-03-101-1/+1
| | | | llvm-svn: 20552
* get bugpoint working on ia64, by building .so's with -fpic. :)Chris Lattner2005-03-091-0/+4
| | | | llvm-svn: 20525
* Remove some stuff I checked in accidentallyChris Lattner2005-02-271-6/+0
| | | | llvm-svn: 20340
* Move helper function here.Chris Lattner2005-02-131-0/+28
| | | | llvm-svn: 20168
* For PR351:Reid Spencer2004-12-191-24/+27
| | | | | | | | | | * Pass sys::Path instead of std::string for paths * Correct the types of arguments passed to RunProgramWithTimeout due to its interface using sys::Path instead of std::string * Replace "/dev/null" (not portable) with empty string which sys::Program::ExecuteAndWait recognizes as "redirect to bit bucket" llvm-svn: 19041
* For PR351:Reid Spencer2004-12-161-15/+14
| | | | | | | | | * Make the OutputC and OutputAsm functions work with sys::Path for the output file name instead of using std::string. * Get rid of extraneous "toString" calls. * Change "removeFile" to sys::Path::destroyFile() llvm-svn: 19000
* For PR351:Reid Spencer2004-12-151-8/+17
| | | | | | | * Remove #inclusion of FileUtilities.h, not needed any more. * Convert getUniqueFilename -> sys::Pat::makeUnique() llvm-svn: 18948
* For PR351:Reid Spencer2004-12-131-5/+5
| | | | | | | Adjust to changes in the interface of FindExecutable, getting ToolRunner ready for bigger things to come. llvm-svn: 18919
* Shared library extension is now in LTDL_SHLIB_EXTReid Spencer2004-11-291-1/+1
| | | | llvm-svn: 18353
* Allow hbd to be bugpointable on darwin by fixing common and linkonce codegenNate Begeman2004-11-091-1/+0
| | | | llvm-svn: 17637
* Pass -single_module option to gcc when linking dynamic libraries for use ↵Nate Begeman2004-10-171-0/+1
| | | | | | with bugpoint, so that we can bugpoint multiple .cp files llvm-svn: 17102
* Changes For Bug 352Reid Spencer2004-09-011-3/+3
| | | | | | | | 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
* Pass timeouts into the low level "execute program with timeout" functionChris Lattner2004-07-241-12/+18
| | | | llvm-svn: 15160
* These files don't need to include <iostream> since they include ↵Brian Gaeke2004-07-211-1/+0
| | | | | | "Support/Debug.h". llvm-svn: 15089
* Err, fix last checkinChris Lattner2004-07-191-1/+1
| | | | llvm-svn: 14995
* Fix bugpoint miscompilation support on OS/XChris Lattner2004-07-191-1/+3
| | | | | | Patch contributed by the fabulous Nate Begeman. llvm-svn: 14994
* Correctly build shared objects on MacOS X for debugging code generatorsMisha Brukman2004-07-161-1/+5
| | | | llvm-svn: 14892
* Apply simplification suggested by Chris: why assign() when operator = will do?Brian Gaeke2004-05-041-2/+2
| | | | llvm-svn: 13364
* Add "Args" optional argument to AbstractInterpreter factory methods, whichBrian Gaeke2004-05-041-31/+71
| | | | | | | | | | | fills in a ToolArgs vector in the AbstractInterpreter if it is set. This ToolArgs vector is used to pass additional arguments to LLI and/or LLC. This is intended to address Bug 40. Also, make -debug-only=toolrunner work for the LLC and CBE AbstractInterpreters. llvm-svn: 13356
* lli no longer takes the -quiet option!Chris Lattner2004-04-051-2/+0
| | | | llvm-svn: 12674
* Make ToolExecutionError inherit std::exception and implement itsAlkis Evlogimenos2004-02-191-0/+2
| | | | | | interface: getMessage() is gone, use what() instead. llvm-svn: 11621
* Add support for just running the code generatorChris Lattner2004-02-181-0/+12
| | | | llvm-svn: 11611
* indent correctlyChris Lattner2004-02-181-1/+1
| | | | llvm-svn: 11601
* Don't yell. BUGPOINT should yell, not the tool runner :)Chris Lattner2004-02-181-1/+1
| | | | llvm-svn: 11600
* If there is an error running a tool, include the error message (e.g. ↵Chris Lattner2004-02-181-30/+32
| | | | | | assertion failure) in the exception llvm-svn: 11597
* When an error occurs executing a tool, we now throw an exception insteadChris Lattner2004-02-181-43/+22
| | | | | | of calling exit(1). llvm-svn: 11593
* The C backend is no longer in llvm-dis, it's in llcChris Lattner2004-02-171-11/+11
| | | | llvm-svn: 11533
* Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so intoJohn Criswell2004-01-261-1/+1
| | | | | | every file. llvm-svn: 10976
* Finegrainify namespacificationChris Lattner2003-12-141-28/+29
| | | | llvm-svn: 10464
* Only use -Wl,-R. if HAVE_LINK_R.Brian Gaeke2003-11-181-0/+3
| | | | llvm-svn: 10066
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Add debugtype, make output marginally more niceChris Lattner2003-10-191-3/+4
| | | | llvm-svn: 9251
* Fix PR #47Chris Lattner2003-10-191-3/+3
| | | | llvm-svn: 9250
* Without this option, the -run-llc mode does not work with shared objects atChris Lattner2003-10-181-0/+1
| | | | | | | all, making it pointless for use with the code generator debugger. With it, it works like a charm. llvm-svn: 9245
* Generalize abstract interpreter interface to allow linking in an arbitrary ↵Chris Lattner2003-10-141-18/+23
| | | | | | number of shared objects llvm-svn: 9129
* Substantial cleanups:Chris Lattner2003-10-141-28/+35
| | | | | | | | | | | | | * Add header comment * Remove extraneous #includes * Move the FileType enum into the GCC class * The GCC class is not virtual. * Move all of the "constructor" functions into the classes themselves * Stop using cl::list as arguments, use std::vector instead (which cl::list derives from) * Improve comments llvm-svn: 9121
* Actually return an error if something bad happens, don't just exit.Chris Lattner2003-10-141-5/+4
| | | | llvm-svn: 9119
* LLI no longer has -abort-on-exceptionChris Lattner2003-10-131-1/+0
| | | | llvm-svn: 9097
* ToolRunner.h has been moved from include/Support to include/llvm/Support.Misha Brukman2003-10-061-1/+1
| | | | llvm-svn: 8898
* Implementation of the abstraction of running our tools + gcc, taken out ofMisha Brukman2003-09-291-0/+374
bugpoint for general usage and enjoyment. llvm-svn: 8754
OpenPOWER on IntegriCloud