1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/lib
Jordan Rupprecht 805c8ee060 [Support] NFC: Allow modifying access/modification times independently in sys::fs::setLastModificationAndAccessTime.
Summary:
Add an overload to sys::fs::setLastModificationAndAccessTime that allows setting last access and modification times separately. This will allow tools to use this API when they want to preserve both the access and modification times from an input file, which may be different.

Also note that both the POSIX (futimens/futimes) and Windows (SetFileTime) APIs take the two timestamps in the order of (1) access (2) modification time, so this renames the method to "setLastAccessAndModificationTime" to make it clear which timestamp is which.

For existing callers, the 1-arg overload just sets both timestamps to the same thing.

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D50521

llvm-svn: 339628
2018-08-13 23:03:45 +00:00
..
Analysis [AST] Minor formatting cleanup [NFC] 2018-08-13 22:34:14 +00:00
AsmParser [DEBUGINFO] Disable emission of the dwarf sections, but allow directives. 2018-08-01 19:38:20 +00:00
BinaryFormat [dwarfdump] Add pretty printer for accelerator table based on Atom. 2018-07-13 17:21:51 +00:00
Bitcode [NFC] Fix typo 2018-08-06 05:03:21 +00:00
CodeGen [CodeGen] Fix assert in SelectionDAG::computeKnownBits 2018-08-13 18:44:21 +00:00
DebugInfo [DWARF] Verifier now handles .debug_types sections. 2018-08-08 23:50:22 +00:00
Demangle [itanium demangler] Add llvm::itaniumFindTypesInMangledName() 2018-08-13 16:37:47 +00:00
ExecutionEngine [ORC] Remove an incorrect use of 'cantFail'. 2018-08-05 23:55:35 +00:00
Fuzzer
FuzzMutate Remove trailing space 2018-07-30 19:41:25 +00:00
IR [Dominators] Remove the DeferredDominance class 2018-08-11 08:12:07 +00:00
IRReader
LineEditor
Linker [NFC] Remove an empty line. 2018-07-27 06:50:45 +00:00
LTO Remove trailing space 2018-07-30 19:41:25 +00:00
MC Fix -Wimplicit-fallthrough warning introduced in rL339397. 2018-08-10 11:02:44 +00:00
Object [WASM] Fix overflow when reading custom section 2018-08-08 16:34:03 +00:00
ObjectYAML [yaml2obj] - Add a support for changing EntSize. 2018-08-07 08:11:38 +00:00
Option Re-revert "[Option] Fix PR37006 prefix choice in findNearest" 2018-05-19 16:21:01 +00:00
Passes Revert "[GVNHoist] Re-enable GVNHoist by default" 2018-07-30 20:07:33 +00:00
ProfileData [Coverage] Ignore 'unused' functions with non-zero execution counts 2018-08-07 22:25:36 +00:00
Support [Support] NFC: Allow modifying access/modification times independently in sys::fs::setLastModificationAndAccessTime. 2018-08-13 23:03:45 +00:00
TableGen Remove trailing space 2018-07-30 19:41:25 +00:00
Target [X86] Don't ignore 0x66 prefix on relative jumps in 64-bit mode. Fix opcode selection of relative jumps in 16-bit mode. Treat jno/jo like other jcc instructions. 2018-08-13 22:06:28 +00:00
Testing
ToolDrivers Give llvm-lib rudimentary help output. 2018-07-14 02:29:44 +00:00
Transforms [InstCombine] Re-land: Optimize redundant 'signed truncation check pattern'. 2018-08-13 21:54:37 +00:00
WindowsManifest
XRay [XRay] Improve error reporting when loading traces 2018-08-07 04:42:39 +00:00
CMakeLists.txt
LLVMBuild.txt