1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +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
AlignmentTest.cpp
AlignOfTest.cpp
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
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
CRCTest.cpp
DataExtractorTest.cpp
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
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
KnownBitsTest.h
LEB128Test.cpp
LinearPolyBaseTest.cpp
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
MD5Test.cpp
MemoryBufferRefTest.cpp
MemoryBufferTest.cpp
MemoryTest.cpp
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
ProcessTest.cpp
ProgramTest.cpp
raw_fd_stream_test.cpp
raw_ostream_test.cpp
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
SHA256.cpp
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
TimerTest.cpp
ToolOutputFileTest.cpp
TrailingObjectsTest.cpp
TrigramIndexTest.cpp
TypeNameTest.cpp
TypeTraitsTest.cpp
UnicodeTest.cpp
VersionTupleTest.cpp
VirtualFileSystemTest.cpp
WithColorTest.cpp
xxhashTest.cpp
YAMLIOTest.cpp
YAMLParserTest.cpp