1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm
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
..
ADT [ADT] Implemented unittests for ImmutableList 2018-08-13 17:32:48 +00:00
Analysis [AST] Cleanup code by using MemoryLocation utility [NFC] 2018-08-13 22:25:16 +00:00
AsmParser Fix -Wdocumentation warnings. NFCI. 2018-07-12 09:10:55 +00:00
BinaryFormat [DWARF] Support for .debug_addr (consumer) 2018-07-31 22:19:19 +00:00
Bitcode
CodeGen Fix missing C++ mode comment in header 2018-08-08 18:40:43 +00:00
Config Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +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] Change JITSymbolFlags debug output, add a function for getting a symbol 2018-08-05 22:35:37 +00:00
FuzzMutate
IR [Dominators] Remove the DeferredDominance class 2018-08-11 08:12:07 +00:00
IRReader
LineEditor
Linker
LTO
MC [MC] Move EH DWARF encodings from MC to CodeGen, NFC 2018-08-09 22:24:04 +00:00
Object Remove trailing space 2018-07-30 19:41:25 +00:00
ObjectYAML [yaml2obj] - Add a support for changing EntSize. 2018-08-07 08:11:38 +00:00
Option
Passes [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM 2018-07-19 14:51:32 +00:00
ProfileData [Coverage] Delete getCounterMismatches, it's dead code (NFC) 2018-08-07 22:25:22 +00:00
Support [Support] NFC: Allow modifying access/modification times independently in sys::fs::setLastModificationAndAccessTime. 2018-08-13 23:03:45 +00:00
TableGen [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00
Target [Tablegen][SubtargetEmitter] Improve expansion of predicates of a variant scheduling class. 2018-08-13 11:09:04 +00:00
Testing/Support
ToolDrivers
Transforms [SimplifyLibCalls] add reflection fold for -sin(-x) (PR38458) 2018-08-13 19:24:41 +00:00
WindowsManifest
WindowsResource
XRay Reverted r338825 and all the following tries to fix issues introduced by that commit (r338826, r338827, r338829, r338880). 2018-08-04 01:59:12 +00:00
CMakeLists.txt
InitializePasses.h RegUsageInfo: Cleanup; NFC 2018-07-26 00:27:51 +00:00
LinkAllIR.h Remove trailing space 2018-07-30 19:41:25 +00:00
LinkAllPasses.h [UnrollAndJam] New Unroll and Jam pass 2018-07-01 12:47:30 +00:00
module.modulemap Put "built-in" function definitions in global Used list, for LTO. (fix bug 34169) 2018-07-24 19:34:37 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h Remove trailing space 2018-07-30 19:41:25 +00:00
PassInfo.h
PassRegistry.h Remove trailing space 2018-07-30 19:41:25 +00:00
PassSupport.h