1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/unittests/Support
John McCall 9f30d2a5ae Fix a bug in OptimizedStructLayout when filling gaps before
fixed fields with highly-aligned flexible fields.

The code was not considering the possibility that aligning
the current offset to the alignment of a queue might push
us past the end of the gap.  Subtracting the offsets to
figure out the maximum field size for the gap then overflowed,
making us think that we had nearly unbounded space to fill.

Fixes PR 51131.
2021-07-21 15:47:18 -04:00
..
DynamicLibrary Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
AlignmentTest.cpp
AlignOfTest.cpp [AIX] Use less than or equal to for some alignment tests on AIX 2021-06-28 10:32:32 -04:00
AllocatorTest.cpp
AnnotationsTest.cpp
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
ArrayRecyclerTest.cpp
Base64Test.cpp
BinaryStreamTest.cpp
BlockFrequencyTest.cpp
BranchProbabilityTest.cpp
CachePruningTest.cpp
Casting.cpp
CheckedArithmeticTest.cpp
Chrono.cpp
CMakeLists.txt [llvm/Support] Add SHA256 implementation 2021-02-14 19:01:01 +00:00
CommandLineTest.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
CompressionTest.cpp
ConvertUTFTest.cpp
CrashRecoveryTest.cpp [RGT] Don't use EXPECT* macros in a subprocess that exits by signalling 2021-01-22 15:04:34 -08:00
CRCTest.cpp
DataExtractorTest.cpp Fixup Asserts+!AbiBreakingChecks fallout from db33f85c7124 2021-01-07 14:18:19 -08:00
DebugCounterTest.cpp
DebugTest.cpp
DJBTest.cpp
ELFAttributeParserTest.cpp
EndianStreamTest.cpp
EndianTest.cpp
ErrnoTest.cpp
ErrorOrTest.cpp
ErrorTest.cpp [NFC] Mark Expected<T>::assertIsChecked() as const 2021-07-08 21:30:23 +08:00
ExtensibleRTTITest.cpp
FileCollectorTest.cpp Support: Remove duplicated code in {File,clang::ModulesDependency}Collector, NFC 2021-01-25 15:09:00 -08:00
FileOutputBufferTest.cpp
FileUtilitiesTest.cpp
formatted_raw_ostream_test.cpp
FormatVariadicTest.cpp
FSUniqueIDTest.cpp
GlobPatternTest.cpp
Host.cpp [SystemZ] Fix invalid assumption in getCPUNameFromS390Model 2021-07-20 13:39:22 +02:00
IndexedAccessorTest.cpp
InstructionCostTest.cpp [InstructionCost] Add saturation support. 2021-07-10 11:28:42 +01:00
ItaniumManglingCanonicalizerTest.cpp
JSONTest.cpp
KnownBitsTest.cpp [KnownBits] Rename KnownBits::computeForMul to KnownBits::mul. NFCI. 2021-04-06 10:11:41 +01:00
KnownBitsTest.h
LEB128Test.cpp Diagnose if a SLEB128 is too large to fit in an int64_t. 2021-02-02 14:33:34 -08:00
LinearPolyBaseTest.cpp [TypeSize] Extend UnivariateLinearPolyBase with getWithIncrement/Decrement methods 2020-11-06 09:01:19 +00:00
LineIteratorTest.cpp
LockFileManagerTest.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -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
MD5Test.cpp
MemoryBufferRefTest.cpp
MemoryBufferTest.cpp
MemoryTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
NativeFormatTests.cpp
OptimizedStructLayoutTest.cpp Fix a bug in OptimizedStructLayout when filling gaps before 2021-07-21 15:47:18 -04:00
ParallelTest.cpp
Path.cpp [SystemZ][z/OS] Fix warning caused by umask returning a signed integer type 2021-05-12 12:26:22 -04:00
ProcessTest.cpp
ProgramTest.cpp [RGT] Tweak test so assertion is always executed 2021-04-09 08:10:45 -07:00
raw_fd_stream_test.cpp
raw_ostream_test.cpp [llvm-objcopy][Support] move writeToOutput helper function to Support. 2021-03-22 15:41:10 +03:00
raw_pwrite_stream_test.cpp
raw_sha1_ostream_test.cpp
RegexTest.cpp
ReplaceFileTest.cpp
ReverseIterationTest.cpp
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
ScaledNumberTest.cpp Switch from llvm::is_trivially_copyable to std::is_trivially_copyable 2020-12-02 22:02:48 -08:00
SHA256.cpp [llvm/Support] Add SHA256 implementation 2021-02-14 19:01:01 +00:00
SourceMgrTest.cpp
SpecialCaseListTest.cpp
SuffixTreeTest.cpp
SwapByteOrderTest.cpp
SymbolRemappingReaderTest.cpp
TargetParserTest.cpp [AArch64] Add target features for Armv9-A Scalable Matrix Extension (SME) 2021-07-12 13:28:10 +00:00
TarWriterTest.cpp
TaskQueueTest.cpp
Threading.cpp Support: reduce stack used in default size test. 2021-07-13 11:24:12 +01:00
ThreadLocalTest.cpp
ThreadPool.cpp [Support] ThreadPool tests: silence warning unused variable 'It' 2021-04-17 14:22:50 -04: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 [VFS] Add support to RedirectingFileSystem for mapping a virtual directory to one in the external FS. 2021-02-02 14:56:17 +10:00
WithColorTest.cpp
xxhashTest.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