| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
that argument to simplify runPassesOn.
llvm-svn: 110291
|
|
|
|
|
|
| |
EmitProgressBitcode.
llvm-svn: 109602
|
|
|
|
|
|
|
|
| |
working again. I don't see why this patch
would cause them to fail the way they are, but none of the other intervening patches seem likely either.
llvm-svn: 108818
|
|
|
|
| |
llvm-svn: 108813
|
|
|
|
|
|
|
| |
superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is
breaking teh everything.
llvm-svn: 108805
|
|
|
|
|
|
| |
(StaticPassInfo) and a constructor-ful subclass (PassInfo).
llvm-svn: 108794
|
|
|
|
|
|
|
| |
this patch raises the default to 800MB when valgrind's active. 800
was chosen semi-arbitrarily.
llvm-svn: 98905
|
|
|
|
| |
llvm-svn: 81154
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 79840
|
|
|
|
|
|
| |
the problem.
llvm-svn: 79322
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 76070
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
when bugpoint is running passes in a child process.
llvm-svn: 52234
|
|
|
|
| |
llvm-svn: 47596
|
|
|
|
| |
llvm-svn: 45421
|
|
|
|
|
|
|
|
|
| |
from a file containing Function/BasicBlock pairings. This is not safe against
anonymous or abnormally-named Funcs or BBs.
Make bugpoint use this interface to pass the BBs list to the child bugpoint.
llvm-svn: 44101
|
|
|
|
|
|
| |
performed on tools/ first, in order not to cause lethal damage
llvm-svn: 37877
|
|
|
|
| |
llvm-svn: 36883
|
|
|
|
| |
llvm-svn: 36872
|
|
|
|
| |
llvm-svn: 36849
|
|
|
|
|
|
| |
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
|
|
|
|
| |
llvm-svn: 33420
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
a pointer to a temporary.
llvm-svn: 30312
|
|
|
|
|
|
| |
pick up on memory errors.
llvm-svn: 30311
|
|
|
|
| |
llvm-svn: 29919
|
|
|
|
|
|
|
| |
Final removal of exceptions from lib/System and adjustment of users to
accommodate.
llvm-svn: 29846
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 28831
|
|
|
|
|
|
|
| |
which allows it to debug optimizer infinite loops. This patch is contributed
by Nick Lewycky, thanks!
llvm-svn: 28763
|
|
|
|
| |
llvm-svn: 28297
|
|
|
|
| |
llvm-svn: 25650
|
|
|
|
| |
llvm-svn: 25518
|
|
|
|
| |
llvm-svn: 24977
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generally, remove use of fork/exec from bugpoint in favor of the portable
sys::Program::ExecuteAndWait method. This change requires two new options
to bugpoint to tell it that it is running in "child" mode. In this mode,
it reads its input and runs the passes. The result code signals to the
parent instance of bugpoint what happened (success, fail, crash).
This change should make bugpoint usable on Win32 systems.
llvm-svn: 24961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21441
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
| |
llvm-svn: 20211
|
|
|
|
| |
llvm-svn: 19752
|
|
|
|
| |
llvm-svn: 19751
|
|
|
|
|
|
|
|
|
|
|
| |
* removeFile() -> sys::Path::destroyFile()
* remove extraneous toString() calls
* convert local variables representing path names from std::string to
sys::Path
* Use sys::Path objects with FileRemove instead of std::string
* Use sys::Path methods for construction of path names
llvm-svn: 19001
|
|
|
|
|
|
| |
* Convert use of getUniqueFilename to sys::Path::makeUnique();
llvm-svn: 18949
|
|
|
|
| |
llvm-svn: 17566
|