#
6111d7c0 |
| 18-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Don't register stdout to be deleted on a signal.
llvm-svn: 111368
|
#
9b2a93a6 |
| 01-Jul-2010 |
Devang Patel <dpatel@apple.com> |
Preserve debug info for only extracted symbols.
llvm-svn: 107417
|
Revision tags: llvmorg-2.7.0 |
|
#
8e404fe7 |
| 24-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Trim #includes.
llvm-svn: 99416
|
#
f684e452 |
| 10-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Add support to llvm-extract for extracting multiple functions and/or multiple global variables at a time.
llvm-svn: 95825
|
Revision tags: llvmorg-2.6.0 |
|
#
e5929236 |
| 11-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and fr
Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and friends in order to support it.
Also, call RemoveFileOnSignal before creating a file instead of after, so that the file isn't left behind if the program is interrupted between when the file is created and RemoveFileOnSignal is called.
While here, add a -S to llvm-extract and port it to IRReader so that it supports assembly input.
llvm-svn: 81568
show more ...
|
#
61a8796d |
| 25-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Make LLVM command-line tools overwrite their output files without -f. This is conventional command-line tool behavior. -f now just means "enable binary output on terminals".
Add a -f option to llvm-
Make LLVM command-line tools overwrite their output files without -f. 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
show more ...
|
#
abd17369 |
| 23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
simplify output file selection, fixing two FIXMEs about binary output
llvm-svn: 79808
|
#
9e6f1f16 |
| 23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Change raw_fd_ostream to take flags as an optional bitmask instead of as two bools. Use this to add a F_Append flag which has the obvious behavior.
Other unrelated changes conflated into this patc
Change raw_fd_ostream to take flags as an optional bitmask 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
show more ...
|
#
dd1db9cc |
| 18-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
"-" should write to stdout, not stderr.
llvm-svn: 79310
|
#
ee05152c |
| 16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Convert more tools code from cerr and cout to errs() and outs().
llvm-svn: 76070
|
#
19251ec8 |
| 15-Jul-2009 |
Owen Anderson <resistor@mac.com> |
To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now.
This will let us to hardwire stuff to the global context in the short term
To simplify the upcoming context-on-type change, switch all command line 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
show more ...
|
#
607818a2 |
| 15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a Force option to raw_fd_ostream to specify whether opening an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new optio
Add a Force option to raw_fd_ostream to specify whether opening 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
show more ...
|
#
1cf085d5 |
| 01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer.
llvm-svn: 74640
|
#
6773d388 |
| 01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools.
Patches
Add a pointer to the owning LLVMContext to Module. This requires threading 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
show more ...
|
#
59ceb59f |
| 20-Apr-2009 |
Dan Gohman <gohman@apple.com> |
Use .empty() instead of .size().
llvm-svn: 69599
|
#
e3fc2d13 |
| 06-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
Change various llvm utilities to use PrettyStackTraceProgram in their main routines. This makes the tools print their argc/argv commands if they crash.
llvm-svn: 66248
|
Revision tags: llvmorg-2.5.0, llvmorg-2.4.0, llvmorg-2.3.0 |
|
#
fc427409 |
| 07-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
only extract main if the user didn't specify anything to extract
llvm-svn: 48023
|
#
3906c6ae |
| 07-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
make error message reflect default search function name
llvm-svn: 48021
|
#
3f13b663 |
| 07-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
add a pass that can extract all kinds of global values, not just functions. Update llvm-extract to use it and optionally extract a global variable if you want it too
llvm-svn: 48015
|
Revision tags: llvmorg-2.2.0 |
|
#
345353d6 |
| 29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from tools.
llvm-svn: 45421
|
#
2c6a821f |
| 08-Oct-2007 |
Dan Gohman <gohman@apple.com> |
Move the space in overview output for commands out of each of the commands and into the common code.
llvm-svn: 42752
|
Revision tags: llvmorg-2.1.0 |
|
#
fd46badc |
| 08-Aug-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Separate program name from error message with a :
llvm-svn: 40945
|
#
f054db32 |
| 08-Aug-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Terminate an error message with a newline.
llvm-svn: 40943
|
#
e16561cd |
| 05-Jul-2007 |
Gabor Greif <ggreif@gmail.com> |
Here is the bulk of the sanitizing. Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
Revision tags: llvmorg-2.0.0 |
|
#
9e9a34c6 |
| 06-May-2007 |
Chris Lattner <sabre@nondot.org> |
use the new MemoryBuffer interfaces to simplify error reporting in clients.
llvm-svn: 36900
|