| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 19605
|
| |
|
|
| |
llvm-svn: 19544
|
| |
|
|
|
|
|
| |
gdb debugger doesn't get confused on which file it is reading (the one in
lib/System or the one in lib/System/{Win32,Unix})
llvm-svn: 19426
|
| |
|
|
|
|
| |
on 64-bit Windows.
llvm-svn: 19393
|
| |
|
|
|
|
| |
console or not.
llvm-svn: 19233
|
| |
|
|
| |
llvm-svn: 19201
|
| |
|
|
|
|
|
|
|
|
| |
* Ensure #includes are wrapped with appropriate HAVE_ guards
* Account for variations in time.h and sys/time.h inclusion.
* Add macros for getting wait(2) exit status correctly (per autoconf sugg.)
* Implement ThrowErrno in terms of strerror_r, strerror or none based on
what is available on the platform.
llvm-svn: 19161
|
| |
|
|
|
|
| |
* Remove redundant #includes that are now in Unix.h
llvm-svn: 19160
|
| |
|
|
|
|
|
| |
* Move implementation of sys::PreventCoreFiles function to this file from
the now defunct SysConfig abstraction.
llvm-svn: 19159
|
| |
|
|
|
|
|
| |
* Ensure #includes are wrapped with appropriate HAVE_ guards
* Ensure variations in "dirent" structure are accounted for.
llvm-svn: 19158
|
| |
|
|
|
|
|
| |
* Ensure #includes are wrapped with appropriate HAVE_ guards
* Consolidate implementation from operating system specific directory.
llvm-svn: 19157
|
| |
|
|
|
|
| |
* Ensure #includes are wrapped with appropriate HAVE_ guards
llvm-svn: 19156
|
| |
|
|
|
|
|
|
| |
SysConf abstraction was pointless because it had a single function in it that
pertained only to the current process. So merge it into the Process abstraction
and remove the files completely.
llvm-svn: 19149
|
| |
|
|
|
|
|
|
| |
Merge implementations of isValid and GetTemporaryDirectory into this file. There
is not any point having the operating system specific files for such little
variation between the Unix family of systems.
llvm-svn: 19134
|
| |
|
|
|
|
|
| |
is now implemented via ltdl.cpp which has its own way of dealing with
the different platforms.
llvm-svn: 19129
|
| |
|
|
| |
llvm-svn: 19079
|
| |
|
|
| |
llvm-svn: 19074
|
| |
|
|
|
|
| |
the ru_maxrss field as an approximation.
llvm-svn: 19072
|
| |
|
|
| |
llvm-svn: 19071
|
| |
|
|
|
|
|
|
| |
* Implement GetMallocUsage to get usage of malloc heap
* Implement GetMemoryUsage to get total memory usage of process
* Implement GetTimeUsage to get elapsed/user/system time
llvm-svn: 19055
|
| |
|
|
|
|
|
| |
* llvm/Config/alloca.h already #includes config.h
* Minor readability/stylistic changes
llvm-svn: 19048
|
| |
|
|
| |
llvm-svn: 19046
|
| |
|
|
| |
llvm-svn: 19045
|
| |
|
|
|
|
|
| |
Move the functionality of RunProgramWithTimeout into the ExecuteAndWait
function: support a timeout and I/O redirects
llvm-svn: 19043
|
| |
|
|
|
|
| |
Add a needed include.
llvm-svn: 19042
|
| |
|
|
|
|
| |
const because they affect the file system, not the Path object.
llvm-svn: 18973
|
| |
|
|
|
|
| |
because LLVM should be agnostic to the needs of specific front ends.
llvm-svn: 18968
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
Implement the new environment pointer for ExecuteAndWait
llvm-svn: 18928
|
| |
|
|
|
|
|
|
|
|
| |
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: 18885
|
| |
|
|
|
|
| |
properly (examples: "", ".", "a").
llvm-svn: 18883
|
| |
|
|
|
|
| |
* Correct the std::string constructor to take a const reference.
llvm-svn: 18877
|
| |
|
|
|
|
|
|
| |
* Remove IsLibrary and GetLibraryPath, replaced by FindLibrary in ../Path.cpp \
* Implement GetSystemLibraryPaths and GetBytecodeLibraryPaths, instead of the \
GetSystemLibraryPath1 and GetSystemLibraryPath2 methods
llvm-svn: 18862
|
| |
|
|
| |
llvm-svn: 18852
|
| |
|
|
| |
llvm-svn: 18785
|
| |
|
|
| |
llvm-svn: 18626
|
| |
|
|
| |
llvm-svn: 18422
|
| |
|
|
|
|
| |
opened as if it was a dynamic library so its symbols can be searched too.
llvm-svn: 18341
|
| |
|
|
|
|
|
| |
library (shared library/shared object) whose symbols can be looked up
dynamically. Used for plug-ins.
llvm-svn: 17940
|
| |
|
|
|
|
| |
* Don't use variable length arrays (replaced with alloca)
llvm-svn: 17901
|
| |
|
|
|
|
|
|
| |
* get rid of (void) construct in function declarations
* make toString a const member
* add a default implementation of toString for Win32
llvm-svn: 17873
|
| |
|
|
|
|
|
|
|
|
|
| |
* Clean up the StatusInfo constructor to construct all members and give
them reasonable values.
* Get rid of the Vector typedef and make the interface to
getDirectoryContent use a std::set instead of a std::vector so the dir
content is sorted.
* Make the getStatusInfo method const and not return a useless boolean.
llvm-svn: 17872
|
| |
|
|
| |
llvm-svn: 17815
|
| |
|
|
|
|
| |
seemingly ubiquitous gettimeofday(3) call.
llvm-svn: 17813
|
| |
|
|
|
|
| |
returnn false if the file doesn't exist rather than throw ane exception.
llvm-svn: 17809
|
| |
|
|
| |
llvm-svn: 17783
|
| |
|
|
| |
llvm-svn: 17782
|
| |
|
|
| |
llvm-svn: 17781
|