llvm-project/llvm/lib/Support
David Tenty b2f34d6af1 [AIX][z/OS][Support] Provide alternate no-op mapped_file_region::dontNeedImpl implementation
mapped_file_region::dontNeedImpl added in D116366 calls madvise, which
causes problems for z/OS and AIX.

For z/OS, we don't have either madvise, so treat this as a no-op, same
as Windows does.

For AIX, it doesn't have any effect, doesn't have a standardized
signature, and it needs certain feature test macros (i.e. _ALL_SOURCE)
we don't set by default for LLVM on AIX, so just make it a no-op too.

Differential Revision: https://reviews.llvm.org/D116603
2022-01-05 10:21:01 -05:00
..
Unix [AIX][z/OS][Support] Provide alternate no-op mapped_file_region::dontNeedImpl implementation 2022-01-05 10:21:01 -05:00
Windows [Support] Add MemoryBuffer::dontNeedIfMmap 2021-12-30 10:42:28 -08:00
AArch64TargetParser.cpp [ARM][AArch64] Introduce Armv9.3-A 2022-01-03 12:40:43 +00:00
ABIBreak.cpp
AMDGPUMetadata.cpp [AMDGPU] HSAMD::fromString - replace std::string arg with StringRef. NFCI. 2021-01-26 16:09:39 +00:00
APFixedPoint.cpp [APInt] Stop using soft-deprecated constructors and methods in llvm. NFC. 2021-10-04 08:57:44 +01:00
APFloat.cpp [APFloat] Set size of PPCDoubleDouble to 128 2021-10-09 10:12:10 +08:00
APInt.cpp [llvm] Add a SFINAE template parameter to DenseMapInfo 2021-11-16 18:54:14 +00:00
APSInt.cpp
ARMAttributeParser.cpp [ARM] emit PACBTI-M build attributes 2021-12-01 11:05:29 +00:00
ARMBuildAttrs.cpp [ARM] emit PACBTI-M build attributes 2021-12-01 11:05:29 +00:00
ARMTargetParser.cpp [ARM][AArch64] Introduce Armv9.3-A 2022-01-03 12:40:43 +00:00
ARMWinEH.cpp [Support] Add some missing namespace closure comments. NFCI. 2021-01-28 11:21:35 +00:00
Allocator.cpp [Support] Add some missing namespace closure comments. NFCI. 2021-01-28 11:21:35 +00:00
Atomic.cpp
AutoConvert.cpp [SystemZ][z/OS] Fix return values in AutoConversion functions 2021-05-05 09:43:14 -04:00
BinaryStreamError.cpp
BinaryStreamReader.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
BinaryStreamRef.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
BinaryStreamWriter.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
BlockFrequency.cpp
BranchProbability.cpp BranchProbability.cpp - add missing implicit cmath header dependency. NFCI. 2021-06-05 21:14:43 +01:00
BuryPointer.cpp Add LLVM_ATTRIBUTE_USED to fix problems which could be exposed by aggressive global pointer variable removal 2021-04-26 13:31:37 -07:00
CMakeLists.txt [Support] [Debuginfod] Move HTTPClient to Debuginfod library. 2021-12-07 01:19:21 +00:00
COM.cpp
COPYRIGHT.regex
CRC.cpp [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
CachePruning.cpp [ThinLTO] Also prune Thin-* files from the ThinLTO cache 2021-01-19 14:43:49 +01:00
Caching.cpp Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
Chrono.cpp
CodeGenCoverage.cpp
CommandLine.cpp [Support] Expand `<CFGDIR>` as the base directory in configuration files. 2021-12-30 13:43:47 -05:00
Compression.cpp Support: Avoid using SmallVector::set_size() in zlib 2021-12-08 16:22:37 -08:00
ConvertUTF.cpp
ConvertUTFWrapper.cpp [Support] Use range-based for loops (NFC) 2021-12-10 08:53:14 -08:00
CrashRecoveryContext.cpp [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
DAGDeltaAlgorithm.cpp [Support] Use range-based for loops (NFC) 2021-12-10 08:53:14 -08:00
DJB.cpp
DataExtractor.cpp
Debug.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
DebugCounter.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
DebugOptions.h Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
DeltaAlgorithm.cpp [Support] Use range-based for loops (NFC) 2021-12-10 08:53:14 -08:00
DivisionByConstantInfo.cpp [NFC] Restore magic and magicu to a globally visible location 2021-09-30 17:43:12 -07:00
DynamicLibrary.cpp [flang] Revert "PoC for Flang Driver Plugins" 2021-07-01 08:27:31 +00:00
ELFAttributeParser.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
ELFAttributes.cpp
Errno.cpp
Error.cpp Support: Pass wrapped Error's error code through FileError 2021-11-12 21:19:09 -08:00
ErrorHandling.cpp [Support] Add more Windows error codes to mapWindowsError 2021-10-16 16:14:49 +03:00
ExtensibleRTTI.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
FileCollector.cpp [SystemZ][z/OS][Windows] Add new OF_TextWithCRLF flag and use this flag instead of OF_Text 2021-04-06 07:23:31 -04:00
FileOutputBuffer.cpp Support: Add move semantics to mapped_file_region 2021-04-09 17:56:26 -07:00
FileUtilities.cpp [Support] Remove redundant calls to str() and c_str() (NFC) 2021-08-29 09:14:48 -07:00
FoldingSet.cpp
FormatVariadic.cpp [NFC] Simplify `splitLiteralAndReplacement` function 2020-07-22 15:32:32 -07:00
FormattedStream.cpp
GlobPattern.cpp
GraphWriter.cpp Support: Use sys::path::is_style_{posix,windows}() in a few places 2021-10-29 12:09:41 -07:00
Hashing.cpp
Host.cpp [llvm] Use nullptr instead of 0 (NFC) 2021-12-28 08:52:25 -08:00
InitLLVM.cpp [Support] [Debuginfod] Move HTTPClient to Debuginfod library. 2021-12-07 01:19:21 +00:00
InstructionCost.cpp [Support] Introduce a new InstructionCost class 2020-12-11 08:12:54 +00:00
IntEqClasses.cpp
IntervalMap.cpp
ItaniumManglingCanonicalizer.cpp [Support] Add some missing namespace closure comments. NFCI. 2021-01-28 11:21:35 +00:00
JSON.cpp [JSON] Handle uint64_t type 2021-10-15 11:18:22 +02:00
KnownBits.cpp [Support] improve known bits analysis for leading zeros of multiply 2021-12-20 09:10:50 -05:00
LEB128.cpp
LineIterator.cpp Support: Allow use of MemoryBufferRef with line_iterator 2020-10-13 16:43:49 -04:00
Locale.cpp
LockFileManager.cpp [libc++] Remove unused macro in __config 2021-09-23 13:09:32 -04:00
LowLevelType.cpp Add support for zero-sized Scalars as a LowLevelType 2021-07-22 13:47:19 +02:00
MD5.cpp [Support] Update `MD5` to follow other hashes. 2021-08-19 14:13:14 -07:00
MSP430AttributeParser.cpp [llvm-readobj] Support dumping of MSP430 ELF attributes 2021-09-28 00:56:11 +03:00
MSP430Attributes.cpp [llvm-readobj] Support dumping of MSP430 ELF attributes 2021-09-28 00:56:11 +03:00
ManagedStatic.cpp Fix for memory leak reported by Valgrind 2021-03-16 11:01:31 -07:00
MathExtras.cpp [Support] Add some missing namespace closure comments. NFCI. 2021-01-28 11:21:35 +00:00
MemAlloc.cpp
Memory.cpp
MemoryBuffer.cpp [Support] Add MemoryBuffer::dontNeedIfMmap 2021-12-30 10:42:28 -08:00
MemoryBufferRef.cpp Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h 2020-10-13 16:42:24 -04:00
NativeFormatting.cpp Print the sign of negative infinity 2021-12-14 22:38:42 -08:00
OptimizedStructLayout.cpp Fix a bug in OptimizedStructLayout when filling gaps before 2021-07-21 15:47:18 -04:00
Optional.cpp
Parallel.cpp [Support] Attempt to fix deadlock in ThreadGroup 2021-09-18 13:49:10 -04:00
Path.cpp Support: Avoid using SmallVector::set_size() in sys::path 2021-12-08 16:22:37 -08:00
PluginLoader.cpp
PrettyStackTrace.cpp [Support] Add some missing namespace closure comments. NFCI. 2021-01-28 11:21:35 +00:00
Process.cpp [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
Program.cpp Re-land [Support] On Windows, take the affinity mask into account 2021-01-14 17:03:22 -05:00
RISCVAttributeParser.cpp
RISCVAttributes.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
RISCVISAInfo.cpp Use StringRef::contains (NFC) 2021-12-24 22:05:34 -08:00
RWMutex.cpp
RandomNumberGenerator.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
Regex.cpp [llvm] Use range-based for loops (NFC) 2021-12-02 09:27:47 -08:00
SHA1.cpp [llvm] Use static_assert instead of assert (NFC) 2021-01-22 23:25:05 -08:00
SHA256.cpp [Support] Use static_assert instead of assert (NFC) 2021-02-18 22:46:41 -08:00
ScaledNumber.cpp
ScopedPrinter.cpp [llvm] Add JSONScopedPrinter class 2021-12-10 18:57:33 +00:00
Signals.cpp [Support] Use range-based for loops (NFC) 2021-12-10 08:53:14 -08:00
Signposts.cpp Revert "Allow signposts to take advantage of deferred string substitution" 2021-10-11 11:09:36 -07:00
SmallPtrSet.cpp [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
SmallVector.cpp [Support] Update SmallVector report_fatal_error calls to use Twine and add missing implicit header dependency. 2021-10-05 17:03:19 +01:00
SourceMgr.cpp [Support] Use range-based for loops (NFC) 2021-12-10 08:53:14 -08:00
SpecialCaseList.cpp [llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:04:30 +01:00
Statistic.cpp [Support] Use range-based for loops (NFC) 2021-12-10 08:53:14 -08:00
StringExtras.cpp [llvm] Use range-based for loops (NFC) 2021-12-02 09:27:47 -08:00
StringMap.cpp Revert "Use the default seed value for djb hash for StringMap" 2021-03-01 14:00:39 +01:00
StringRef.cpp [llvm] Use range-based for loops (NFC) 2021-12-02 09:27:47 -08:00
StringSaver.cpp
SuffixTree.cpp
SymbolRemappingReader.cpp
SystemUtils.cpp [opt] Remove obsolete --quiet option 2020-07-08 13:21:20 -07:00
TarWriter.cpp
TargetParser.cpp [RISCV][Clang] Compute the default target-abi if it's empty. 2021-12-10 08:54:23 -08:00
ThreadLocal.cpp
ThreadPool.cpp Split the locking of the queue and the threads vector in the ThreadPool implementation 2021-12-04 04:10:24 +00:00
Threading.cpp [Support] reorder Threading includes to avoid conflict with FreeBSD headers 2021-07-09 10:39:52 +01:00
TimeProfiler.cpp [TimeProfiler] Reset variable to nullptr 2021-10-31 16:14:30 -07:00
Timer.cpp [llvm] Use llvm::reverse (NFC) 2021-11-06 19:31:18 -07:00
ToolOutputFile.cpp [Windows] Remove global OF_None flag for Windows in ToolOutputFiles 2021-04-07 14:10:04 -04:00
TrigramIndex.cpp [Support] TrigramIndex::insert - pass std::String argument by const reference. NFCI. 2021-01-23 11:04:00 +00:00
Triple.cpp [ARM][AArch64] Introduce Armv9.3-A 2022-01-03 12:40:43 +00:00
Twine.cpp Consolidate string types into ptr and length representations. 2021-07-20 13:29:57 -07:00
TypeSize.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
Unicode.cpp Speedup some unicode rendering 2020-12-03 20:11:11 +01:00
UnicodeCaseFold.cpp
Valgrind.cpp Remove the NotUnderValgrind caching flag 2021-07-26 00:21:09 +00:00
VersionTuple.cpp
VirtualFileSystem.cpp [clang][deps] Squash caches for original and minimized files 2021-12-16 09:57:21 +01:00
Watchdog.cpp
WithColor.cpp Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
X86TargetParser.cpp [X86] Add CRC32 feature. 2021-09-06 17:24:30 +08:00
YAMLParser.cpp Revert "[llvm] Remove redundant member initialization (NFC)" 2022-01-03 11:28:47 -08:00
YAMLTraits.cpp [YAML I/O] Fix bug in emission of empty sequence 2021-01-25 13:35:36 -08:00
Z3Solver.cpp
circular_raw_ostream.cpp
raw_os_ostream.cpp
raw_ostream.cpp [LTO] Fix assertion failed when flushing bitcode incrementally for LTO output. 2022-01-04 21:40:23 -08:00
regcomp.c
regengine.inc
regerror.c
regex2.h
regex_impl.h
regexec.c
regfree.c
regstrlcpy.c
regutils.h
xxhash.cpp