summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a file overwrite bug in llvm-ar introduced by changes toReid Spencer2004-12-153-8/+18
| | | | | | | | | | 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
* Disable libprofile as llvm-ar bus errors on it, and I don't want to breakChris Lattner2004-12-151-1/+1
| | | | | | the nightly testers. llvm-svn: 18960
* Do not fail an assertion on a broken archiveChris Lattner2004-12-151-1/+6
| | | | llvm-svn: 18959
* Adjust to new interfacesChris Lattner2004-12-151-2/+3
| | | | llvm-svn: 18958
* Adjust to new alias analysis interfacesChris Lattner2004-12-154-57/+48
| | | | llvm-svn: 18957
* Make the AliasAnalysis interface more precise for common cases.Chris Lattner2004-12-151-11/+94
| | | | llvm-svn: 18956
* Move virtual method call out of loopChris Lattner2004-12-152-6/+6
| | | | llvm-svn: 18955
* Make Win32 TimeValue::toString() re-entrant and work with mingwJeff Cohen2004-12-151-5/+9
| | | | llvm-svn: 18954
* Fix VC++ compilation errorsJeff Cohen2004-12-152-6/+3
| | | | llvm-svn: 18953
* Don't put newlines in AC macros that can't handle them!Reid Spencer2004-12-152-7/+5
| | | | llvm-svn: 18952
* Change LLVMGCCDIR/bytecode-libs -> LLVMGCCDIR/libReid Spencer2004-12-152-2/+2
| | | | llvm-svn: 18951
* For PR351:Reid Spencer2004-12-153-3/+0
| | | | | | Remove #inclusion of Support/FileUtilities.h which isn't needed any more. llvm-svn: 18950
* For PR351:Reid Spencer2004-12-153-20/+34
| | | | | | * Convert use of getUniqueFilename to sys::Path::makeUnique(); llvm-svn: 18949
* For PR351:Reid Spencer2004-12-154-11/+17
| | | | | | | * Remove #inclusion of FileUtilities.h, not needed any more. * Convert getUniqueFilename -> sys::Pat::makeUnique() llvm-svn: 18948
* For PR351:Reid Spencer2004-12-154-23/+147
| | | | | | | | | * 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
* For PR351:Reid Spencer2004-12-152-99/+1
| | | | | | | Remove getUniqueFilename and CopyFile. These are now implemented by sys::Path::makeUnique and sys::CopyFile, respectively. llvm-svn: 18946
* Add some system specific functions we useReid Spencer2004-12-153-2/+16
| | | | llvm-svn: 18945
* Remove most references to LLVM_LIB_SEARCH_PATH. It now only exists in theReid Spencer2004-12-154-61/+17
| | | | | | | GettingStarted.html document in the environment section and only as an optional feature. llvm-svn: 18944
* Fix the default install directory of modules from / to $(libdir) !Reid Spencer2004-12-141-1/+1
| | | | | | Many thanks to Vladimir Merzliakov for pointing this out! llvm-svn: 18942
* Use user time, not wall time, for optimizer time.Chris Lattner2004-12-141-2/+2
| | | | llvm-svn: 18941
* Correct documentation to reflect the change in location of the CFE runtimeReid Spencer2004-12-144-11/+11
| | | | | | libraries. They are now in $CFEINSTALL/lib not $CFEINSTALL/bytecode-lib. llvm-svn: 18939
* Constant exprs are not efficiently negatable in practice. This disablesChris Lattner2004-12-141-4/+3
| | | | | | turning X - (constantexpr) into X + (-constantexpr) among other things. llvm-svn: 18935
* Add the getMagicNumber method.Reid Spencer2004-12-141-0/+19
| | | | | | Patch contributed by Henrik Bach. Thanks Henrik! llvm-svn: 18933
* The mystery of Olden/tsp solved, and more opportunities for speedup.Brian Gaeke2004-12-141-0/+6
| | | | llvm-svn: 18932
* Get rid of shifts by zero in most cases.Brian Gaeke2004-12-142-12/+6
| | | | llvm-svn: 18931
* Implement Win32 Path::getStatusInfo(), TimeValue::toString()Jeff Cohen2004-12-144-9/+58
| | | | llvm-svn: 18930
* For PR351:Reid Spencer2004-12-144-141/+84
| | | | | | | * Change ExecWait calls to sys::Program::ExecuteAndWait * Convert to use sys::Path where it makes sense llvm-svn: 18929
* For PR351:Reid Spencer2004-12-142-5/+12
| | | | | | Implement the new environment pointer for ExecuteAndWait llvm-svn: 18928
* 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
OpenPOWER on IntegriCloud