llvm-project/llvm/unittests/Support
Richard Howell 4f61749e16 [clang] support relative roots to vfs overlays
This diff adds support for relative roots to VFS overlays. The directory root
will be made absolute from the current working directory and will be used to
determine the path style to use. This supports the use of VFS overlays with
remote build systems that might use a different working directory for each
compilation.

Reviewed By: benlangmuir

Differential Revision: https://reviews.llvm.org/D116174
2022-01-19 10:13:06 -08:00
..
CommandLineInit [Support] Initialize common options in `getRegisteredOptions` 2021-08-03 23:59:10 -07:00
DynamicLibrary Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ARMAttributeParser.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
AlignOfTest.cpp [AIX] Use less than or equal to for some alignment tests on AIX 2021-06-28 10:32:32 -04:00
AlignmentTest.cpp
AllocatorTest.cpp
AnnotationsTest.cpp
ArrayRecyclerTest.cpp
Base64Test.cpp
BinaryStreamTest.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
BlockFrequencyTest.cpp
BranchProbabilityTest.cpp
CMakeLists.txt [llvm] Add ScopedPrinter unit tests 2021-12-10 18:57:33 +00:00
CRCTest.cpp
CachePruningTest.cpp
Casting.cpp
CheckedArithmeticTest.cpp
Chrono.cpp
CommandLineTest.cpp [Support] Expand `<CFGDIR>` as the base directory in configuration files. 2021-12-30 13:43:47 -05:00
CompressionTest.cpp [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
ConvertUTFTest.cpp Reland "[Support][unittests] Enforce alignment in ConvertUTFTest" 2020-10-14 12:02:27 +02:00
CrashRecoveryTest.cpp [RGT] Don't use EXPECT* macros in a subprocess that exits by signalling 2021-01-22 15:04:34 -08:00
DJBTest.cpp
DataExtractorTest.cpp Add a new API seek for the Cursor class in the DataExtractor.cpp 2021-09-16 09:39:49 -04:00
DebugCounterTest.cpp
DebugTest.cpp
ELFAttributeParserTest.cpp [llvm][NFC] Add missing 'override's in unittests/ 2020-07-17 17:35:59 -07:00
EndianStreamTest.cpp
EndianTest.cpp
ErrnoTest.cpp
ErrorOrTest.cpp
ErrorTest.cpp Support: Pass wrapped Error's error code through FileError 2021-11-12 21:19:09 -08:00
ExtensibleRTTITest.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
FSUniqueIDTest.cpp Support: Avoid std::tie in Support/FileSystem/UniqueID.h, NFC 2020-11-02 13:26:15 -05:00
FileCollectorTest.cpp Support: Remove duplicated code in {File,clang::ModulesDependency}Collector, NFC 2021-01-25 15:09:00 -08:00
FileOutputBufferTest.cpp
FileUtilitiesTest.cpp [llvm] [unittests] Remove temporary files after they're not needed 2020-09-02 00:34:44 +03:00
FormatVariadicTest.cpp [LLVM] Update formatv() documentation to clarify no escape for `}` 2020-07-22 15:30:40 -07:00
GlobPatternTest.cpp [Support] Add GlobPattern::isTrivialMatchAll() 2020-09-16 10:26:11 +01:00
HashBuilderTest.cpp [NFC] Add trailing comma on TYPED_TEST_SUITE 2021-09-14 09:56:57 -07:00
Host.cpp [AArch64] Add native CPU detection for Neoverse-V1. 2022-01-13 12:58:54 +00:00
IndexedAccessorTest.cpp
InstructionCostTest.cpp [InstructionCost] Add saturation support. 2021-07-10 11:28:42 +01:00
ItaniumManglingCanonicalizerTest.cpp
JSONTest.cpp [JSON] Handle uint64_t type 2021-10-15 11:18:22 +02:00
KnownBitsTest.cpp [ValueTracking][SelectionDAG] Rename ComputeMinSignedBits->ComputeMaxSignificantBits. NFC 2022-01-03 11:33:30 -08:00
KnownBitsTest.h [DemandedBits] Improve accuracy of Add propagator 2020-08-17 12:54:09 +01:00
LEB128Test.cpp Diagnose if a SLEB128 is too large to fit in an int64_t. 2021-02-02 14:33:34 -08:00
LineIteratorTest.cpp Support: Allow use of MemoryBufferRef with line_iterator 2020-10-13 16:43:49 -04:00
LinearPolyBaseTest.cpp [NFC] Remove from UnivariateLinearPolyBase::getValue(). 2021-11-04 14:32:08 +00:00
LockFileManagerTest.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
MD5Test.cpp [Support] Update `MD5` to follow other hashes. 2021-08-19 14:13:14 -07:00
ManagedStatic.cpp
MatchersTest.cpp
MathExtrasTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
MemoryBufferRefTest.cpp Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h 2020-10-13 16:42:24 -04:00
MemoryBufferTest.cpp [llvm] Add null-termination capability to SmallVectorMemoryBuffer 2021-12-09 11:32:13 +01:00
MemoryTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
NativeFormatTests.cpp Print the sign of negative infinity 2021-12-14 22:38:42 -08:00
OptimizedStructLayoutTest.cpp Fix a bug in OptimizedStructLayout when filling gaps before 2021-07-21 15:47:18 -04:00
ParallelTest.cpp Add parallelTransformReduce and parallelForEachError 2020-11-02 16:50:14 -08:00
Path.cpp Support: Extract sys::fs::readNativeFileToEOF() from MemoryBuffer 2022-01-11 18:03:58 -08:00
ProcessTest.cpp
ProgramTest.cpp [Support] [Windows] Convert paths to the preferred form 2021-11-05 10:41:51 +02:00
RISCVAttributeParserTest.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
RegexTest.cpp
ReplaceFileTest.cpp
ReverseIterationTest.cpp
SHA256.cpp [llvm/Support] Add SHA256 implementation 2021-02-14 19:01:01 +00:00
ScaledNumberTest.cpp Switch from llvm::is_trivially_copyable to std::is_trivially_copyable 2020-12-02 22:02:48 -08:00
ScopedPrinterTest.cpp [llvm] Add JSONScopedPrinter class 2021-12-10 18:57:33 +00:00
SourceMgrTest.cpp
SpecialCaseListTest.cpp [clang/llvm] As part of using inclusive language within 2020-06-20 16:03:58 -07:00
SuffixTreeTest.cpp
SwapByteOrderTest.cpp
SymbolRemappingReaderTest.cpp
TarWriterTest.cpp [llvm] [unittests] Remove temporary files after they're not needed 2020-09-02 00:34:44 +03:00
TargetParserTest.cpp [Clang][AArch64][ARM] PMUv3 Option Added 2022-01-17 14:33:03 +00:00
TaskQueueTest.cpp
ThreadLocalTest.cpp
ThreadPool.cpp Recommit [ThreadPool] Support returning futures with results. 2021-11-25 20:07:53 +00:00
Threading.cpp Support: reduce stack used in default size test. 2021-07-13 11:24:12 +01:00
TimerTest.cpp
ToolOutputFileTest.cpp
TrailingObjectsTest.cpp
TrigramIndexTest.cpp
TypeNameTest.cpp
TypeTraitsTest.cpp [Tests] Add missing include (NFC) 2021-06-03 18:58:29 +02:00
UnicodeTest.cpp Speedup some unicode rendering 2020-12-03 20:11:11 +01:00
VersionTupleTest.cpp
VirtualFileSystemTest.cpp [clang] support relative roots to vfs overlays 2022-01-19 10:13:06 -08:00
WithColorTest.cpp
YAMLIOTest.cpp [YAML I/O] Fix bug in emission of empty sequence 2021-01-25 13:35:36 -08:00
YAMLParserTest.cpp [YAML] Support extended spellings when parsing bools. 2020-12-12 12:50:34 +00:00
buffer_ostream_test.cpp Support: Skip buffering buffer_unique_ostream's owned stream 2021-10-22 16:25:31 -07:00
formatted_raw_ostream_test.cpp [Support] Fix formatted_raw_ostream for UTF-8 2020-07-06 16:18:15 +01:00
raw_fd_stream_test.cpp Add raw_fd_stream that supports reading/seeking/writing 2020-09-12 07:34:19 +00:00
raw_ostream_test.cpp [Support] No longer require flushing raw_string_ostream 2022-01-07 09:25:22 -08:00
raw_pwrite_stream_test.cpp
raw_sha1_ostream_test.cpp
xxhashTest.cpp