| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 22356
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This chagne just renames some sys::Path methods to ensure they are not
misused. The Path documentation now divides methods into two dimensions:
Path/Disk and accessor/mutator. Path accessors and mutators only operate
on the Path object itself without making any disk accesses. Disk accessors
and mutators will also access or modify the file system. Because of the
potentially destructive nature of disk mutators, it was decided that all
such methods should end in the work "Disk" to ensure the user recognizes
that the change will occur on the file system. This patch makes that
change. The method name changes are:
makeReadable -> makeReadableOnDisk
makeWriteable -> makeWriteableOnDisk
makeExecutable -> makeExecutableOnDisk
setStatusInfo -> setStatusInfoOnDisk
createDirectory -> createDirectoryOnDisk
createFile -> createFileOnDisk
createTemporaryFile -> createTemporaryFileOnDisk
destroy -> eraseFromDisk
rename -> renamePathOnDisk
These changes pass the Linux Deja Gnu tests.
llvm-svn: 22354
|
|
|
|
| |
llvm-svn: 22353
|
|
|
|
|
|
| |
been compiled or tested.
llvm-svn: 22350
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of the difference between file paths and directory paths. The Path
class now simply stores a path that can refer to either a file or a
directory. This required various changes in the implementation and interface
of the class with the corresponding impact to its users. Doxygen comments were
also updated to reflect these changes. Interface changes are:
appendDirectory -> appendComponent
appendFile -> appendComponent
elideDirectory -> eraseComponent
elideFile -> eraseComponent
elideSuffix -> eraseSuffix
renameFile -> rename
setDirectory -> set
setFile -> set
Changes pass Dejagnu and llvm-test/SingleSource tests.
llvm-svn: 22349
|
|
|
|
|
|
|
|
|
|
|
| |
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
|
|
|
|
| |
llvm-svn: 21704
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
|
|
| |
methods that were recently added to the interface.
llvm-svn: 21401
|
|
|
|
| |
llvm-svn: 21216
|
|
|
|
| |
llvm-svn: 20256
|
|
|
|
| |
llvm-svn: 20255
|
|
|
|
| |
llvm-svn: 20243
|
|
|
|
| |
llvm-svn: 20237
|
|
|
|
| |
llvm-svn: 20208
|
|
|
|
| |
llvm-svn: 19852
|
|
|
|
| |
llvm-svn: 19746
|
|
|
|
| |
llvm-svn: 19545
|
|
|
|
|
|
|
| |
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: 19236
|
|
|
|
| |
llvm-svn: 19203
|
|
|
|
| |
llvm-svn: 19202
|
|
|
|
| |
llvm-svn: 19199
|
|
|
|
| |
llvm-svn: 19198
|
|
|
|
| |
llvm-svn: 19190
|
|
|
|
|
|
|
| |
* Move implementation of sys::PreventCoreFiles function to this file from
the now defunct SysConfig abstraction.
llvm-svn: 19159
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Old versions of the C runtime somehow get loaded into the process. Make
sure they aren't searched for symbols.
llvm-svn: 19141
|
|
|
|
|
|
| |
ltdl's LGPL license would infect all of LLVM.
llvm-svn: 19137
|
|
|
|
| |
llvm-svn: 19130
|
|
|
|
|
|
|
| |
is now implemented via ltdl.cpp which has its own way of dealing with
the different platforms.
llvm-svn: 19129
|
|
|
|
| |
llvm-svn: 19124
|
|
|
|
| |
llvm-svn: 19122
|
|
|
|
| |
llvm-svn: 19112
|
|
|
|
| |
llvm-svn: 19057
|
|
|
|
|
|
|
|
| |
* 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-svn: 19028
|
|
|
|
| |
llvm-svn: 18976
|
|
|
|
|
|
| |
const because they affect the file system, not the Path object.
llvm-svn: 18973
|
|
|
|
|
|
| |
be agnostic to the needs of any specific FE.
llvm-svn: 18969
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 18954
|
|
|
|
| |
llvm-svn: 18953
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
Patch contributed by Henrik Bach. Thanks Henrik!
llvm-svn: 18933
|
|
|
|
| |
llvm-svn: 18930
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
available.
llvm-svn: 18904
|