| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
createTemporaryFile semantics where it doesn't create a fully unique name
if the basename doesn't exist. This functionality is now optionally
provided by the boolean reuse_current parameter to createTemporaryFile and
makeUnique. The default values differ because of the way these functions
are used in LLVM.
llvm-svn: 18961
|
| |
|
|
|
|
| |
the nightly testers.
llvm-svn: 18960
|
| |
|
|
| |
llvm-svn: 18959
|
| |
|
|
| |
llvm-svn: 18958
|
| |
|
|
| |
llvm-svn: 18957
|
| |
|
|
| |
llvm-svn: 18956
|
| |
|
|
| |
llvm-svn: 18955
|
| |
|
|
| |
llvm-svn: 18954
|
| |
|
|
| |
llvm-svn: 18953
|
| |
|
|
| |
llvm-svn: 18952
|
| |
|
|
| |
llvm-svn: 18951
|
| |
|
|
|
|
| |
Remove #inclusion of Support/FileUtilities.h which isn't needed any more.
llvm-svn: 18950
|
| |
|
|
|
|
| |
* Convert use of getUniqueFilename to sys::Path::makeUnique();
llvm-svn: 18949
|
| |
|
|
|
|
|
| |
* Remove #inclusion of FileUtilities.h, not needed any more.
* Convert getUniqueFilename -> sys::Pat::makeUnique()
llvm-svn: 18948
|
| |
|
|
|
|
|
|
|
| |
* Fix implementation and documentation about LLVMGCCDIR/bytecode-libs
* Add the makeUnique method, replacement for getUniqueFilename in Support.
* Add the sys::CopyFile function, replacement for CopyFile in Support.
* Move GetLLVMConfigDir() into generic code area since its generic.
llvm-svn: 18947
|
| |
|
|
|
|
|
| |
Remove getUniqueFilename and CopyFile. These are now implemented by
sys::Path::makeUnique and sys::CopyFile, respectively.
llvm-svn: 18946
|
| |
|
|
| |
llvm-svn: 18945
|
| |
|
|
|
|
|
| |
GettingStarted.html document in the environment section and only as an
optional feature.
llvm-svn: 18944
|
| |
|
|
|
|
| |
Many thanks to Vladimir Merzliakov for pointing this out!
llvm-svn: 18942
|
| |
|
|
| |
llvm-svn: 18941
|
| |
|
|
|
|
| |
libraries. They are now in $CFEINSTALL/lib not $CFEINSTALL/bytecode-lib.
llvm-svn: 18939
|
| |
|
|
|
|
| |
turning X - (constantexpr) into X + (-constantexpr) among other things.
llvm-svn: 18935
|
| |
|
|
|
|
| |
Patch contributed by Henrik Bach. Thanks Henrik!
llvm-svn: 18933
|
| |
|
|
| |
llvm-svn: 18932
|
| |
|
|
| |
llvm-svn: 18931
|
| |
|
|
| |
llvm-svn: 18930
|
| |
|
|
|
|
|
| |
* Change ExecWait calls to sys::Program::ExecuteAndWait
* Convert to use sys::Path where it makes sense
llvm-svn: 18929
|
| |
|
|
|
|
| |
Implement the new environment pointer for ExecuteAndWait
llvm-svn: 18928
|
| |
|
|
|
|
| |
* Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait
llvm-svn: 18927
|
| |
|
|
|
|
|
| |
* Fix commentary, wrap lines, etc.
* Add an environment pointer to the ExecuteAndWait function.
llvm-svn: 18926
|
| |
|
|
| |
llvm-svn: 18925
|
| |
|
|
|
|
| |
Adjust to interface change for FindExecutable.
llvm-svn: 18920
|
| |
|
|
|
|
|
| |
Adjust to changes in the interface of FindExecutable, getting ToolRunner
ready for bigger things to come.
llvm-svn: 18919
|
| |
|
|
|
|
|
| |
* Remove isExecutable as its now implemented by sys::Path::executable
* Make FindExecutable a thin veneer over sys::Program::FindProgramByName.
llvm-svn: 18918
|
| |
|
|
|
|
|
| |
* isExecutable -> sys::Path::executable()
* Adjust interface of FindExecutable to return a sys::Path
llvm-svn: 18917
|
| |
|
|
|
|
|
|
| |
llee was a nice hack, but it wasn't portable so its gone, with Misha's
approval. Operating systems have facilities available for making bytecode
directly executable without this utility.
llvm-svn: 18916
|
| |
|
|
|
|
| |
to 64-bit precision, not 80 bits.
llvm-svn: 18915
|
| |
|
|
| |
llvm-svn: 18914
|
| |
|
|
| |
llvm-svn: 18913
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 18911
|
| |
|
|
|
|
|
|
| |
Remove the MakeFileReadable and MakeFileExecutable functions which are no
longer present in LLVM. They have been replaced with the sys::Path methods
makeReadable and makeExecutable, respectively.
llvm-svn: 18910
|
| |
|
|
|
|
|
| |
Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with
sys::Path::makeReadable and sys::Path:makeExecutable, respectively.
llvm-svn: 18909
|
| |
|
|
|
|
|
|
|
|
|
| |
do not insert a prototype for malloc of: void* malloc(uint): on 64-bit u
targets this is not correct. Instead of prototype it as void *malloc(...),
and pass the correct intptr_t through the "...".
Finally, fix Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll, by not
forming constantexpr casts from pointer to uint.
llvm-svn: 18908
|
| |
|
|
|
|
|
|
|
|
| |
Implement three new functions to allow setting access/permission bits on
the file referenced by a path. The makeReadable and makeExecutable methods
replace the FileUtilities MakeFileReadable and MakeFileExecutable
functions. The makeWritable function is new and provided for consistency
since Path has a writable() method.
llvm-svn: 18907
|
| |
|
|
| |
llvm-svn: 18906
|
| |
|
|
| |
llvm-svn: 18905
|
| |
|
|
|
|
| |
available.
llvm-svn: 18904
|
| |
|
|
|
|
|
|
| |
The ReadFileIntoAddressSpace and UnmapFileFromAddressSpace functions are no
longer used by LLVM. Remove them. Replacement functionality for both
functions is now encapsulated in the sys::MappedFile class.
llvm-svn: 18903
|
| |
|
|
|
|
|
|
| |
Use sys::MappedFile instead of ReadFileIntoAddressSpace and
UnmapFileFromAddressSpace. sys::MappedFile has the nice property that it
cleans up after itself so exception handling can be removed.
llvm-svn: 18902
|