| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 122157
|
|
|
|
|
|
| |
the buildbots.
llvm-svn: 122149
|
|
|
|
| |
llvm-svn: 122141
|
|
|
|
| |
llvm-svn: 120298
|
|
|
|
|
|
| |
Makes it more clear that it is just a path manipulation function.
llvm-svn: 118174
|
|
|
|
|
|
| |
This allows using GetDLLSuffix() with appendSuffix().
llvm-svn: 118051
|
|
|
|
| |
llvm-svn: 118050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exposes an initializeMyPassFunction(), which
must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize
the pass's dependencies.
Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the
CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
before parsing commandline arguments.
I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems
with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass
registration/creation, please send the testcase to me directly.
llvm-svn: 116820
|
|
|
|
| |
llvm-svn: 115973
|
|
|
|
|
|
|
|
|
|
| |
of a base class.
This makes it possible to unregister the file from FilesToRemove when
the file is done. Also, this eliminates the need for
formatted_tool_output_file.
llvm-svn: 112706
|
|
|
|
|
|
| |
checking to places which previously lacked it.
llvm-svn: 111651
|
|
|
|
| |
llvm-svn: 111599
|
|
|
|
| |
llvm-svn: 103263
|
|
|
|
| |
llvm-svn: 101656
|
|
|
|
| |
llvm-svn: 99915
|
|
|
|
| |
llvm-svn: 99721
|
|
|
|
| |
llvm-svn: 99719
|
|
|
|
| |
llvm-svn: 99716
|
|
|
|
| |
llvm-svn: 99416
|
|
|
|
|
|
| |
raw_ostream variables immediately before they go out of scope.
llvm-svn: 99413
|
|
|
|
|
|
| |
this fixes crashes in error cases, PR6683
llvm-svn: 99334
|
|
|
|
| |
llvm-svn: 94746
|
|
|
|
| |
llvm-svn: 84819
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|