- Dec 14, 2004
-
-
Reid Spencer authored
* Remove isExecutable as its now implemented by sys::Path::executable * Make FindExecutable a thin veneer over sys::Program::FindProgramByName. llvm-svn: 18918
-
- Dec 13, 2004
-
-
Chris Lattner authored
to 64-bit precision, not 80 bits. llvm-svn: 18915
-
Brian Gaeke authored
llvm-svn: 18913
-
Reid Spencer authored
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
-
Chris Lattner authored
llvm-svn: 18911
-
Reid Spencer authored
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
-
Chris Lattner authored
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
-
Reid Spencer authored
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
-
Chris Lattner authored
llvm-svn: 18906
-
Reid Spencer authored
available. llvm-svn: 18904
-
Reid Spencer authored
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
-
Reid Spencer authored
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
-
Chris Lattner authored
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
-
Reid Spencer authored
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
-
Reid Spencer authored
Patch contributed by Morten Ofsted. llvm-svn: 18889
-
Reid Spencer authored
terminating / when setDirectory is called. llvm-svn: 18886
-
Reid Spencer authored
llvm-svn: 18885
-
Alkis Evlogimenos authored
properly (examples: "", ".", "a"). llvm-svn: 18883
-
Reid Spencer authored
* Correct the std::string constructor to take a const reference. llvm-svn: 18877
-
Jeff Cohen authored
llvm-svn: 18876
-
Reid Spencer authored
* 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
-
Reid Spencer authored
llvm-svn: 18870
-
Reid Spencer authored
llvm-svn: 18869
-
Reid Spencer authored
llvm-svn: 18867
-
Reid Spencer authored
llvm-svn: 18866
-
Reid Spencer authored
* Remove IsLibrary and GetLibraryPath, replaced by FindLibrary in ../Path.cpp \ * Implement GetSystemLibraryPaths and GetBytecodeLibraryPaths, instead of the \ GetSystemLibraryPath1 and GetSystemLibraryPath2 methods llvm-svn: 18862
-
Reid Spencer authored
* Move generic isArchive method here from Unix/Path.cpp \ * Implement isDynamicLibrary \ * Implement FindLibrary for Linker llvm-svn: 18861
-
Reid Spencer authored
llvm-svn: 18860
-
Reid Spencer authored
llvm-svn: 18859
-
Reid Spencer authored
llvm-svn: 18858
-
Reid Spencer authored
* Remove redundant static function LinkOneLibrary. \ * Remove unneded #includes \ * Convert FileSupport usage to sys::Path instead llvm-svn: 18857
-
Reid Spencer authored
llvm-svn: 18856
-
Reid Spencer authored
* 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
-
Reid Spencer authored
* Get file information from a MappedFile instance \ * Convert file type tests to sys::Path form llvm-svn: 18854
-
Reid Spencer authored
llvm-svn: 18853
-
Reid Spencer authored
llvm-svn: 18852
-
Reid Spencer authored
llvm-svn: 18846
-
Brian Gaeke authored
llvm-svn: 18844
-
Chris Lattner authored
llvm-svn: 18843
-
Chris Lattner authored
in some cases. llvm-svn: 18842
-