summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ToolRunner.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* add support for bugpointing the integrated assembler. Something like thisChris Lattner2010-03-161-33/+49
| | | | | | | | | 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
* 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
* Make LLVM command-line tools overwrite their output files without -f.Dan Gohman2009-08-251-1/+0
| | | | | | | | | | | | | | | | 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-231-10/+11
| | | | | | | | | | | | | | | | | | 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
* Proper MSVC build fix (and remove my hack again). Patch by Yonggang Luo.Benjamin Kramer2009-08-191-7/+2
| | | | llvm-svn: 79418
* Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and ↵Benjamin Kramer2009-08-191-0/+5
| | | | | | aren't available on windows (mingw defines them though). llvm-svn: 79417
* Change bugpoint to use Triple to make runtime decisions.Daniel Dunbar2009-08-181-28/+25
| | | | | | | | | - This is cleaner, and makes bugpoint match the host instead of the build architecture. - Patch by Sandeep Patel! llvm-svn: 79309
* Use (void *)(intptr_t) to cast function addresses to void*Dan Gohman2009-08-051-8/+4
| | | | | | | for use with sys::Path::GetMainExecutable, to avoid warnings with -pedantic. llvm-svn: 78245
* Fix FindExecutable to use sys::Path::GetMainExecutable instead ofDan Gohman2009-08-051-15/+22
| | | | | | | | | | | | | just argv[0]. And remove the code for searching the current working directory and for searching PATH; the point of FindExecutable is not to find whatever version of the executable can be found by searching around, but to find an executable that accompanies the current executable. Update the tools to use sys::Program::FindProgramByName when they want PATH searching. llvm-svn: 78240
* Pass user only if it's non-empty. Patch by Sandeep.Anton Korobeynikov2009-08-051-2/+4
| | | | llvm-svn: 78184
* Add save-temps option to bugpoint to keep temporary stuff.Anton Korobeynikov2009-08-051-3/+8
| | | | | | Patch by Sandeep Patel llvm-svn: 78183
* For remote execution, must cd to the executable directory since the exe ↵David Goodwin2009-07-201-3/+4
| | | | | | expects to find a dylib in the CWD ('.'). llvm-svn: 76432
* Require a remote command to exit with the exit status of the test program or ↵Viktor Kutuzov2009-07-181-11/+59
| | | | | | with 255 if an error occurred. llvm-svn: 76323
* Add a Force option to raw_fd_ostream to specify whether openingDan Gohman2009-07-151-9/+8
| | | | | | | | an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. llvm-svn: 75801
* Use errs() instead of std::cerr.Dan Gohman2009-07-151-35/+35
| | | | llvm-svn: 75791
* control reaches end of non-void function.Evan Cheng2009-07-141-0/+2
| | | | llvm-svn: 75714
* Fix for bugpoint -remote-clientViktor Kutuzov2009-07-141-7/+15
| | | | llvm-svn: 75665
* Fix unused function warning.Daniel Dunbar2009-07-111-0/+2
| | | | llvm-svn: 75386
* Support remote execute for ARM.David Goodwin2009-07-101-1/+30
| | | | llvm-svn: 75292
* bugpoint for jit should just ignore GCC arguments.Evan Cheng2009-05-051-5/+0
| | | | llvm-svn: 70988
* Also pass -gcc-tool-args when building a shared object.Evan Cheng2009-03-121-2/+5
| | | | llvm-svn: 66746
* Add a "-gcc-tool-args" option. This option acts like the "-tool-args" option,Bill Wendling2009-03-021-9/+18
| | | | | | | but passes the arguments to the "gcc" invocation instead of to the "llc" invocation. llvm-svn: 65896
* Rename bugpoint's error message file so that if it somehowDan Gohman2009-02-121-1/+1
| | | | | | gets left behind, it's less cryptic. llvm-svn: 64399
* Allow use of ssh to perform remote execution.Evan Cheng2008-09-091-14/+25
| | | | llvm-svn: 55979
* Add possibility of using arbitrary to to execute stuff from bugpoint.Anton Korobeynikov2008-04-281-0/+104
| | | | | | Patch by Pekka Jääskeläinen! llvm-svn: 50373
* -fPIC is required on x86-64 when building shared objects.Torok Edwin2008-04-061-1/+1
| | | | llvm-svn: 49274
* remove attributions from tools.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45421
* Pretty straightforward replacement of "bytecode" by "bitcode"Gabor Greif2007-07-041-20/+20
| | | | | | performed on tools/ first, in order not to cause lethal damage llvm-svn: 37877
* Fix bugpoint to run -llc-safe with -Xlinker.Lauro Ramos Venancio2007-06-061-0/+2
| | | | llvm-svn: 37483
* Added -rsh-host and -rsh-user to support remote execution.Evan Cheng2007-05-031-5/+41
| | | | llvm-svn: 36685
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-161-14/+25
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* A bit more debugging printf's.Evan Cheng2007-01-031-0/+10
| | | | llvm-svn: 32832
* comment out debug codeChris Lattner2006-09-151-6/+6
| | | | llvm-svn: 30401
* Add a new -cbe-bug mode, which works just like -run-llc, except that it usesChris Lattner2006-09-151-6/+18
| | | | | | LLC as the reference compiler to reduce testcases for bugs in GCC. llvm-svn: 30400
* For PR797:Reid Spencer2006-08-231-5/+25
| | | | | | | Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846
* For PR797:Reid Spencer2006-08-211-1/+1
| | | | | | | | Adjust usage of the ExecuteAndWait function to use the last argument which is the ErrMsg string. This is necessitated because this function no longer throws exceptions on error. llvm-svn: 29791
* For PR797:Reid Spencer2006-08-211-1/+1
| | | | | | | | Make sys::Program::ExecuteAndWait not throw exceptions and update any affected code. It now return -9999 to signal that the program couldn't be executed. Only one case (in bugpoint) actually examines the result code. llvm-svn: 29785
* Pass -Xlinker flags to gcc when it builds the shared object.Chris Lattner2006-06-271-21/+40
| | | | llvm-svn: 28939
* After telling GCC to type of the input file with -x asm/-x c, switch back toChris Lattner2006-06-091-0/+2
| | | | | | -x none, to not foul up autodetection of .a file or .dylibs. llvm-svn: 28741
* Move ToolRunner.(cpp|h) into the bugpoint directoryChris Lattner2006-06-061-0/+514
llvm-svn: 28699
OpenPOWER on IntegriCloud