| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
for use with sys::Path::GetMainExecutable, to avoid warnings
with -pedantic.
llvm-svn: 78245
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 76768
|
| |
|
|
| |
llvm-svn: 76070
|
| |
|
|
| |
llvm-svn: 75892
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 74640
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
their main routines. This makes the tools print their argc/argv
commands if they crash.
llvm-svn: 66248
|
| |
|
|
|
|
|
| |
not in system library directories by checking -L paths as well.
Patch by Axel Naumann!
llvm-svn: 61730
|
| |
|
|
| |
llvm-svn: 59642
|
| |
|
|
|
|
| |
syntax is AT&T.
llvm-svn: 52827
|
| |
|
|
| |
llvm-svn: 52289
|
| |
|
|
|
|
| |
With this more general way, -native and -native-cbe options are handled too.
llvm-svn: 52287
|
| |
|
|
| |
llvm-svn: 52285
|
| |
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
| |
|
|
| |
llvm-svn: 46421
|
| |
|
|
| |
llvm-svn: 45770
|
| |
|
|
| |
llvm-svn: 45421
|
| |
|
|
|
|
| |
commands and into the common code.
llvm-svn: 42752
|
| |
|
|
| |
llvm-svn: 40415
|
| |
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
| |
|
|
| |
llvm-svn: 37658
|
| |
|
|
| |
llvm-svn: 36868
|
| |
|
|
| |
llvm-svn: 36853
|
| |
|
|
| |
llvm-svn: 36581
|
| |
|
|
|
|
|
| |
Rename LinkItems as NativeLinkItems since it is filled out by the Linker
library to contain only those items deemed to be native.
llvm-svn: 35654
|
| |
|
|
|
|
| |
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
|
| |
|
|
| |
llvm-svn: 34073
|
| |
|
|
|
|
| |
Copy a couple more missing options from gccld to llvm-ld.
llvm-svn: 34061
|
| |
|
|
| |
llvm-svn: 33420
|
| |
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
| |
|
|
|
|
| |
With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250
|
| |
|
|
|
|
|
| |
adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.
llvm-svn: 31990
|
| |
|
|
| |
llvm-svn: 31685
|
| |
|
|
|
|
|
|
| |
Fix an infinite loop in the Linker and a few other assorted link problems.
Patch contributed by Scott Michel. Thanks, Scott!
llvm-svn: 31680
|
| |
|
|
| |
llvm-svn: 31466
|
| |
|
|
| |
llvm-svn: 31464
|
| |
|
|
|
|
| |
- Removed warning about clobbered parameter in Bytecode/Reader
llvm-svn: 30026
|
| |
|
|
|
|
|
| |
Eliminate exception throwing from Path::renamePathOnDisk and adjust its
users correspondingly.
llvm-svn: 29843
|
| |
|
|
|
|
|
| |
Remove exceptions from the Path::create*OnDisk methods. Update their users
to handle error messages via arguments and result codes.
llvm-svn: 29840
|
| |
|
|
|
|
| |
Change the Path::make*OnDisk methods exception free and adjust their usage.
llvm-svn: 29836
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 28928
|
| |
|
|
|
|
|
|
|
| |
1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o
2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage
3. Make each of the tools with --load options include LinkAllVMCore.h
This should be the last set of changes for this bug and 800.
llvm-svn: 28719
|
| |
|
|
| |
llvm-svn: 28288
|
| |
|
|
|
|
| |
(-L options) to TheLinker. Problem noticed by Wink Saville.
llvm-svn: 26571
|