| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement the new environment pointer for ExecuteAndWait
llvm-svn: 18928
|
|
|
|
|
|
| |
* Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait
llvm-svn: 18927
|
|
|
|
| |
llvm-svn: 18925
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
to 64-bit precision, not 80 bits.
llvm-svn: 18915
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
don't support long double anyway, and this gives us FP results closer to
other targets.
This also speeds up 179.art from 41.4s to 18.32s, by eliminating a problem
with extra precision that causes an FP == comparison to fail (leading to
extra loop iterations).
llvm-svn: 18895
|
|
|
|
|
|
|
|
| |
The getFileTimestamp and getFileSize functions have been removed from \
FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \
Path::getSize,respectively.
llvm-svn: 18892
|
|
|
|
|
|
| |
Patch contributed by Morten Ofsted.
llvm-svn: 18889
|
|
|
|
|
|
| |
terminating / when setDirectory is called.
llvm-svn: 18886
|
|
|
|
| |
llvm-svn: 18885
|
|
|
|
|
|
| |
properly (examples: "", ".", "a").
llvm-svn: 18883
|
|
|
|
|
|
| |
* Correct the std::string constructor to take a const reference.
llvm-svn: 18877
|
|
|
|
| |
llvm-svn: 18876
|
|
|
|
|
|
|
|
| |
* Fix loop style per standards
* Don't create a new Module when the Linker's module is released.
* Add/fix function comments.
llvm-svn: 18871
|
|
|
|
| |
llvm-svn: 18870
|
|
|
|
| |
llvm-svn: 18869
|
|
|
|
| |
llvm-svn: 18867
|
|
|
|
| |
llvm-svn: 18866
|
|
|
|
|
|
|
|
| |
* Remove IsLibrary and GetLibraryPath, replaced by FindLibrary in ../Path.cpp \
* Implement GetSystemLibraryPaths and GetBytecodeLibraryPaths, instead of the \
GetSystemLibraryPath1 and GetSystemLibraryPath2 methods
llvm-svn: 18862
|
|
|
|
|
|
|
|
| |
* Move generic isArchive method here from Unix/Path.cpp \
* Implement isDynamicLibrary \
* Implement FindLibrary for Linker
llvm-svn: 18861
|
|
|
|
| |
llvm-svn: 18860
|
|
|
|
| |
llvm-svn: 18859
|
|
|
|
| |
llvm-svn: 18858
|
|
|
|
|
|
|
|
| |
* Remove redundant static function LinkOneLibrary. \
* Remove unneded #includes \
* Convert FileSupport usage to sys::Path instead
llvm-svn: 18857
|
|
|
|
| |
llvm-svn: 18856
|
|
|
|
|
|
|
|
|
| |
* Convert functions to Linker:: methods. \
* Remove unneeded #includes \
* Utilize sys::Path utilities not FileSupport utilities \
* Move File & Library linking functions to other source files
llvm-svn: 18855
|
|
|
|
|
|
|
| |
* Get file information from a MappedFile instance \
* Convert file type tests to sys::Path form
llvm-svn: 18854
|
|
|
|
| |
llvm-svn: 18853
|
|
|
|
| |
llvm-svn: 18852
|
|
|
|
| |
llvm-svn: 18846
|
|
|
|
| |
llvm-svn: 18844
|