1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm/Support
Alex Brachet b6d007145b [Support] Add fs::getUmask() function and change fs::setPermissions
Summary: This patch changes fs::setPermissions to optionally set permissions while respecting the umask. It also adds the function fs::getUmask() which returns the current umask.

Reviewers: jhenderson, rupprecht, aprantl, lhames

Reviewed By: jhenderson, rupprecht

Subscribers: sanaanajjar231288, hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 364621
2019-06-28 03:21:00 +00:00
..
Solaris/sys Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AArch64TargetParser.def [AArch64][SVE2] Add SVE2 target features to backend and TargetParser 2019-05-13 10:10:24 +00:00
AArch64TargetParser.h [AArch64][SVE2] Add SVE2 target features to backend and TargetParser 2019-05-13 10:10:24 +00:00
AlignOf.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Allocator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMetadata.h AMDGPU/NFC: Add offset field to arg metadata (required for code object v3) 2019-04-03 19:07:29 +00:00
AMDHSAKernelDescriptor.h [AMDGPU] gfx1010 wave32 metadata 2019-06-17 16:48:56 +00:00
ARMAttributeParser.h [ARM] add target arch definitions for 8.1-M and MVE 2019-05-30 12:57:04 +00:00
ARMBuildAttributes.h [ARM] add target arch definitions for 8.1-M and MVE 2019-05-30 12:57:04 +00:00
ARMEHABI.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ARMTargetParser.def [ARM] Add the non-MVE instructions in Arm v8.1-M. 2019-06-11 09:29:18 +00:00
ARMTargetParser.h [ARM] Add the non-MVE instructions in Arm v8.1-M. 2019-06-11 09:29:18 +00:00
ARMWinEH.h [AArch64] [Windows] Fix llvm-readobj -unwind output with many epilogs. 2019-02-28 20:33:22 +00:00
ArrayRecycler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Atomic.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AtomicOrdering.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryByteStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryItemStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStreamArray.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStreamError.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStreamReader.h [Support] Add LEB128 support to BinaryStreamReader/Writer. 2019-04-17 15:38:27 +00:00
BinaryStreamRef.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStreamWriter.h [Support] Add LEB128 support to BinaryStreamReader/Writer. 2019-04-17 15:38:27 +00:00
BlockFrequency.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BranchProbability.h [PPC] Correctly adjust branch probability in PPCReduceCRLogicals 2019-05-31 16:11:17 +00:00
BuryPointer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CachePruning.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Capacity.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Casting.h [llvm] Add isa_and_nonnull 2019-04-05 13:59:24 +00:00
CBindingWrapping.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
CFGUpdate.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CheckedArithmetic.h [InterleavedAccessAnalysis] Fix integer overflow in insertMember. 2019-03-07 17:50:16 +00:00
Chrono.h [Chrono] Remove ATTRIBUTE_ALWAYS inline from Chrono.h. 2019-01-22 22:49:19 +00:00
circular_raw_ostream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00
CodeGen.h Restore comment regarding why Reloc::PIC_ can't be PIC 2019-03-18 20:04:34 +00:00
CodeGenCoverage.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
COM.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommandLine.h Revert [CommandLine] Remove OptionCategory and SubCommand caches from the Option class. 2019-06-22 23:32:36 +00:00
Compiler.h Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
Compression.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ConvertUTF.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CrashRecoveryContext.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CRC.h Attempt to recommit r357901 2019-04-08 12:31:12 +00:00
DataExtractor.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DataTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Debug.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugCounter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DJB.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DOTGraphTraits.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
DynamicLibrary.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Endian.h [Support/Endian] Add support for endian-specific enums 2019-03-11 09:06:18 +00:00
EndianStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Errc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Errno.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Error.h BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
ErrorHandling.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ErrorOr.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileCheck.h [FileCheck] Stop qualifying expressions as numeric 2019-06-19 23:47:24 +00:00
FileOutputBuffer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileSystem.h [Support] Add fs::getUmask() function and change fs::setPermissions 2019-06-28 03:21:00 +00:00
FileUtilities.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatAdapters.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatCommon.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
FormatProviders.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormattedStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatVariadic.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatVariadicDetails.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GenericDomTree.h [DominatorTree] Print roots unconditionally in print(). 2019-05-16 12:48:56 +00:00
GenericDomTreeConstruction.h Temporarily diasble debug output in GenericDomTreeConstruction.h 2019-03-07 23:30:19 +00:00
GlobPattern.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GraphWriter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Host.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InitLLVM.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ItaniumManglingCanonicalizer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JamCRC.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JSON.h [Support] json::OStream::flush(), which passes through to the underlying stream 2019-04-25 13:33:18 +00:00
KnownBits.h [KnownBits] Add computeForAddCarry() 2019-04-12 18:18:08 +00:00
LEB128.h Fix some undefined behavior (excessive shift of signed value) in r364253 detected by ubsan 2019-06-26 19:18:50 +00:00
LICENSE.TXT
LineIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Locale.h
LockFileManager.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LowLevelTypeImpl.h Add a getSizeInBits() accessor to MachineMemOperand. NFC. 2019-04-17 22:21:05 +00:00
MachineValueType.h [MVT] Fix typos in comment. NFC. 2019-03-18 16:57:40 +00:00
ManagedStatic.h Try once more to ensure constant initializaton of ManagedStatics 2019-04-24 20:13:23 +00:00
MathExtras.h [Support] make countLeadingZeros() countTrailingZeros() countLeadingOnes() and countTrailingOnes() return unsigned 2019-06-04 14:51:15 +00:00
MD5.h
MemAlloc.h Improve zero-size allocation with safe_malloc, etc. 2019-06-25 15:08:28 +00:00
Memory.h [Support] Renamed member 'Size' to 'AllocatedSize' in MemoryBlock and OwningMemoryBlock. 2019-05-20 20:53:05 +00:00
MemoryBuffer.h Make SourceManager::createFileID(UnownedTag, ...) take a const llvm::MemoryBuffer* 2019-04-04 21:06:41 +00:00
MipsABIFlags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MSVCErrorWorkarounds.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Mutex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MutexGuard.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NativeFormatting.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OnDiskHashTable.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Options.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Parallel.h Parallel: only allow the first TaskGroup to run tasks parallelly 2019-04-25 11:33:30 +00:00
Path.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PluginLoader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PointerLikeTypeTraits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PrettyStackTrace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Printable.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Process.h [Support] Add error handling to sys::Process::getPageSize(). 2019-05-08 02:11:07 +00:00
Program.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RandomNumberGenerator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
raw_os_ostream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
raw_ostream.h Revert "[Support] Make raw_string_ostream unbuffered" 2019-02-25 21:11:19 +00:00
raw_sha1_ostream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Recycler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RecyclingAllocator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Regex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Registry.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ReverseIteration.h
RWMutex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SaveAndRestore.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScaledNumber.h Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...> 2019-01-20 21:19:56 +00:00
ScopedPrinter.h Fix missing C++ mode comments 2019-02-21 15:48:10 +00:00
SHA1.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Signals.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Signposts.h Annotate timeline in Instruments with passes and other timed regions. 2019-02-19 18:18:31 +00:00
SmallVectorMemoryBuffer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SMLoc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SMTAPI.h New methods to check for under-/overflow in the SMT API 2019-03-27 16:54:12 +00:00
SourceMgr.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SpecialCaseList.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StringPool.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StringSaver.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SwapByteOrder.h Attempt to fix build errors caused by r355812 2019-03-11 09:23:30 +00:00
SymbolRemappingReader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SystemUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetOpcodes.def [GlobalISel] Add a G_BRJT opcode. 2019-06-14 17:55:48 +00:00
TargetParser.h [AMDGPU] gfx1011/gfx1012 targets 2019-06-14 00:33:31 +00:00
TargetRegistry.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetSelect.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TarWriter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TaskQueue.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
thread.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Threading.h [llvm][Support] Provide interface to set thread priorities 2019-04-16 14:32:43 +00:00
ThreadLocal.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPool.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TimeProfiler.h Time profiler: small fixes and optimizations 2019-04-15 21:02:47 +00:00
Timer.h [Legacy][TimePasses] allow -time-passes reporting into a custom stream 2019-03-22 23:11:08 +00:00
ToolOutputFile.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TrailingObjects.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TrigramIndex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
type_traits.h Slight fix for r351820 2019-01-22 13:57:29 +00:00
TypeName.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Unicode.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UnicodeCharRanges.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UniqueLock.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Valgrind.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VersionTuple.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VirtualFileSystem.h VFS: Avoid some unnecessary std::string copies 2019-02-23 23:48:47 +00:00
Watchdog.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Win64EH.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WindowsError.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WithColor.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
X86DisassemblerDecoderCommon.h [X86Disassembler] Unify the EVEX and VEX code in emitContextTable. Merge the ATTR_VEXL/ATTR_EVEXL bits. NFCI 2019-06-13 22:15:25 +00:00
X86TargetParser.def [X86] -march=cooperlake (llvm) 2019-06-07 08:31:35 +00:00
xxhash.h Make ICF log output order deterministic. 2018-07-31 18:04:58 +00:00
YAMLParser.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
YAMLTraits.h [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00