| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to reflect the new license.
We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.
Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.
llvm-svn: 351636
|
|
|
|
|
|
| |
NFC.
llvm-svn: 232976
|
|
|
|
| |
llvm-svn: 183980
|
|
|
|
| |
llvm-svn: 183940
|
|
|
|
| |
llvm-svn: 120298
|
|
|
|
|
|
| |
Makes it more clear that it is just a path manipulation function.
llvm-svn: 118174
|
|
|
|
| |
llvm-svn: 118130
|
|
|
|
| |
llvm-svn: 118088
|
|
|
|
| |
llvm-svn: 118057
|
|
|
|
|
|
|
| |
This makes the behaviour of FindExecutable more consistent across platforms, but
I'm not very happy with the name...
llvm-svn: 118049
|
|
|
|
| |
llvm-svn: 117583
|
|
|
|
|
|
|
|
| |
I wasn't able to convince myself that all GetMainExecutable
implementations always return absolute paths; this prevents
unexpected behavior in case they ever don't.
llvm-svn: 112888
|
|
|
|
|
|
| |
bugpoint uses it.
llvm-svn: 112803
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|