summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For PR351:Reid Spencer2004-12-141-78/+3
| | | | | | * Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait llvm-svn: 18927
* For PR351:Reid Spencer2004-12-141-10/+15
| | | | | | | * Fix commentary, wrap lines, etc. * Add an environment pointer to the ExecuteAndWait function. llvm-svn: 18926
* Revert the last patch as it causes a static destruction ordering problem.Reid Spencer2004-12-141-3/+5
| | | | llvm-svn: 18925
* For PR351:Reid Spencer2004-12-132-15/+17
| | | | | | Adjust to interface change for FindExecutable. llvm-svn: 18920
* For PR351:Reid Spencer2004-12-131-5/+5
| | | | | | | Adjust to changes in the interface of FindExecutable, getting ToolRunner ready for bigger things to come. llvm-svn: 18919
* For PR351:Reid Spencer2004-12-131-64/+13
| | | | | | | * Remove isExecutable as its now implemented by sys::Path::executable * Make FindExecutable a thin veneer over sys::Program::FindProgramByName. llvm-svn: 18918
* For PR351:Reid Spencer2004-12-131-7/+2
| | | | | | | * isExecutable -> sys::Path::executable() * Adjust interface of FindExecutable to return a sys::Path llvm-svn: 18917
* For PR351:Reid Spencer2004-12-138-451/+1
| | | | | | | | 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
* When generating code for X86 targets, make sure the fp control word is setChris Lattner2004-12-131-0/+13
| | | | | | to 64-bit precision, not 80 bits. llvm-svn: 18915
* Minor cleanupsMisha Brukman2004-12-131-2/+2
| | | | llvm-svn: 18914
* Fix link error in PPC optimized build of 'opt'.Brian Gaeke2004-12-131-0/+1
| | | | llvm-svn: 18913
* For PR351:Reid Spencer2004-12-132-68/+0
| | | | | | | 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
* Add some notesChris Lattner2004-12-131-1/+21
| | | | llvm-svn: 18911
* For PR351:Reid Spencer2004-12-132-51/+0
| | | | | | | | 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
* For PR351:Reid Spencer2004-12-132-6/+6
| | | | | | | Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with sys::Path::makeReadable and sys::Path:makeExecutable, respectively. llvm-svn: 18909
* Get rid of getSizeOf, using ConstantExpr::getSizeOf instead.Chris Lattner2004-12-131-20/+33
| | | | | | | | | | | 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
* For PR351:Reid Spencer2004-12-133-0/+61
| | | | | | | | | | 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
* Change this method to return ulong, not uint, for 64-bit targets.Chris Lattner2004-12-132-6/+5
| | | | llvm-svn: 18906
* New testcase that crashes the V9 backend.Chris Lattner2004-12-131-0/+6
| | | | llvm-svn: 18905
* Genericize implementation of GetDLLSuffix now that we have LTDL_SHLIB_EXTReid Spencer2004-12-139-40/+6
| | | | | | available. llvm-svn: 18904
* For PR351:Reid Spencer2004-12-132-57/+0
| | | | | | | | 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
* For PR351:Reid Spencer2004-12-131-20/+6
| | | | | | | | 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
* Fix typo.Alkis Evlogimenos2004-12-131-1/+1
| | | | llvm-svn: 18901
* Fix this testChris Lattner2004-12-131-1/+1
| | | | llvm-svn: 18900
* Add llvm tool variables.Alkis Evlogimenos2004-12-131-0/+9
| | | | llvm-svn: 18897
* For PR351:Reid Spencer2004-12-131-59/+58
| | | | | | | * Change use of ReadFileIntoAddressSpace to sys::MappedFile use. * Shorten a line > 80 chars. llvm-svn: 18896
* Set the rounding mode for the X86 FPU to 64-bits instead of 80-bits. WeChris Lattner2004-12-131-0/+22
| | | | | | | | | | | 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
* Make the loop termination condition clear when building the set of items toReid Spencer2004-12-132-6/+3
| | | | | | pass to the Linker::LinkInItems function. llvm-svn: 18894
* For PR351: libLLVMSupport now depends on libLLVMSystemReid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18893
* For PR351: \Reid Spencer2004-12-136-39/+27
| | | | | | | | 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
* Added a size_type typedef to LLVM containers to make Visual Studio shut upReid Spencer2004-12-133-3/+5
| | | | | | (and possibly to make LLVM more x86 64bit friendly). llvm-svn: 18891
* Add a convenience function for clearing the two global areas.Reid Spencer2004-12-131-0/+7
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18890
* Get rid of some leaks found by VC leak detector.Reid Spencer2004-12-132-5/+8
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18889
* Minor syntactical change to make this a little easier to comprehend.Reid Spencer2004-12-131-5/+2
| | | | llvm-svn: 18888
* Make use of the new Path inserter function.Reid Spencer2004-12-131-3/+3
| | | | llvm-svn: 18887
* Fix a bug where "." or any single character file name doesn't get theReid Spencer2004-12-131-1/+1
| | | | | | terminating / when setDirectory is called. llvm-svn: 18886
* Remove an always false clause from an if statement.Reid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18885
* Fix a bug where directory names of length one or less where not setAlkis Evlogimenos2004-12-131-1/+1
| | | | | | properly (examples: "", ".", "a"). llvm-svn: 18883
* Use the new BYTECODE_DESTINATION to override the default bytecode installReid Spencer2004-12-1316-1/+17
| | | | | | | | | destination for this library so that it goes to $(cferuntime_libdir) rather than just $(libdir). Normal bytecode libraries should be installed in the $(libdir), but these ones are "special" because they're part of the the C/C++ front end. llvm-svn: 18882
* More properly name bytecode_libdir cferuntime_libdir. This is only theReid Spencer2004-12-131-1/+1
| | | | | | libdir for the CFE runtime libraries, not "all bytecode". llvm-svn: 18881
* Finish the implementation of the BYTECODE_DESTINATION feature for modulesReid Spencer2004-12-131-5/+11
| | | | | | too and getting rid of the last remnants of bytecode_libdir. llvm-svn: 18880
* Implement a new feature, BYTECODE_DESTINATION, to allow a user makefile toReid Spencer2004-12-131-2/+8
| | | | | | | | specify where the bytecode library is to be installed. This allows the default location ($prefix/lib) to be overridden, for special case runtime libraries like the cfe runtime libs. llvm-svn: 18879
* * Add a std::ostream inserter for sys::PathReid Spencer2004-12-133-3/+9
| | | | | | * Correct the std::string constructor to take a const reference. llvm-svn: 18877
* Fix recent breakage of win32 buildJeff Cohen2004-12-132-9/+1
| | | | llvm-svn: 18876
* Make sure the archive doesn't have to exist before we remove it.Reid Spencer2004-12-131-2/+2
| | | | llvm-svn: 18873
* Always remove bytecode archives so that path mismatches don't cause theReid Spencer2004-12-131-0/+2
| | | | | | contents to not be updated. llvm-svn: 18872
* * Fix header block.Reid Spencer2004-12-131-8/+8
| | | | | | | | * 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
* Add missing space in a comment.Reid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18870
* Make sure the Archive gets deleted if there's an error.Reid Spencer2004-12-131-4/+4
| | | | llvm-svn: 18869
* Remove commented out functions that have been replaced with lib/SystemReid Spencer2004-12-131-25/+0
| | | | | | functionality. llvm-svn: 18868
OpenPOWER on IntegriCloud