| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
change the raw_ostream one to take the raw_ostream byref instead
of byptr. Prune #includes, eliminate a use of Streams.h
llvm-svn: 79863
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 75796
|
|
|
|
|
|
|
|
| |
- Patch by Viktor Kutuzov!
- Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths.
llvm-svn: 75424
|
|
|
|
| |
llvm-svn: 74645
|
|
|
|
|
|
| |
- Patch by Viktor Kutuzov, with tweaks by me.
llvm-svn: 74608
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
|
|
|
| |
llvm-svn: 32340
|
|
|
|
| |
llvm-svn: 32321
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 31927
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
|
|
|
|
| |
llvm-svn: 21845
|
|
|
|
|
|
| |
* Combine multiple ``std::cerr <<'' statements into one for simplicity
llvm-svn: 21458
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
| |
llvm-svn: 19240
|
|
|
|
|
|
| |
a terminal/console.
llvm-svn: 19237
|
|
|
|
|
|
|
|
|
| |
* Remove unneeded header files.
* Move RedirectFD static function to lib/System/Unix/Program.cpp
* Delete RunProgramWithTimeout, now implemented by
sys::Program::ExecuteAndWait. RunProgramWithTimeout is now a convenience func.
llvm-svn: 19040
|
|
|
|
|
|
| |
* Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait
llvm-svn: 18927
|
|
|
|
|
|
|
| |
* Remove isExecutable as its now implemented by sys::Path::executable
* Make FindExecutable a thin veneer over sys::Program::FindProgramByName.
llvm-svn: 18918
|
|
|
|
|
|
|
| |
Remove AllocateRWXMemory as it is not used any more in LLVM. The function
has been replaced with sys::Memory::AllocateRWX several months ago.
llvm-svn: 18912
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
| |
llvm-svn: 15195
|
|
|
|
| |
llvm-svn: 15161
|
|
|
|
| |
llvm-svn: 15158
|
|
|
|
|
|
| |
* Order #includes alphabetically
llvm-svn: 14234
|
|
|
|
| |
llvm-svn: 14233
|
|
|
|
| |
llvm-svn: 13940
|
|
|
|
|
|
|
|
|
|
| |
much easier than on unix. :) The only evil thing is that windows.h defines
a macro named FindExecutable, which collides with one of our names.
The JIT now runs on windows, but it cannot resolve external functions
(like printf) yet.
llvm-svn: 13871
|
|
|
|
|
|
| |
includes mman.h
llvm-svn: 13870
|
|
|
|
| |
llvm-svn: 13806
|
|
|
|
|
|
| |
that didn't exist, missing the ones that do :(
llvm-svn: 12978
|
|
|
|
| |
llvm-svn: 12638
|
|
|
|
| |
llvm-svn: 12600
|
|
|
|
| |
llvm-svn: 10747
|
|
|
|
| |
llvm-svn: 10464
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9139
|
|
|
|
| |
llvm-svn: 8755
|
|
|
|
|
|
|
|
| |
program.
Added the use of const (which compiles and is hopefully correct).
Added comments.
llvm-svn: 8585
|
|
|
|
|
|
|
|
|
| |
arguments and environment.
Perhaps it should be merged with the RunProgramWithTimeout function, but I'd
want to allow it to inherit the parent process's stdin and stdout.
I'll save that for a rainy day...
llvm-svn: 8577
|
|
|
|
| |
llvm-svn: 8559
|
|
|
|
| |
llvm-svn: 7694
|
|
|
|
| |
llvm-svn: 7693
|
|
|
|
| |
llvm-svn: 7691
|
|
|
|
| |
llvm-svn: 7483
|