llvm-project/llvm/unittests
Arthur Eubanks 7e0802aeb5 [BasicAA] Fix order in which we pass MemoryLocations to alias()
D98718 caused the order of Values/MemoryLocations we pass to alias() to
be significant due to storing the offset in the PartialAlias case. But
some callers weren't audited and were still passing swapped arguments,
causing the returned PartialAlias offset to be negative in some
cases. For example, the newly added unittests would return -1
instead of 1.

Fixes #55343, a miscompile.

Reviewed By: asbirlea, nikic

Differential Revision: https://reviews.llvm.org/D125328
2022-05-10 12:05:38 -07:00
..
ADT Add missing comparison operators to SmallVector 2022-04-25 18:18:14 -04:00
Analysis [BasicAA] Fix order in which we pass MemoryLocations to alias() 2022-05-10 12:05:38 -07:00
AsmParser [AsmParserTest] Avoid pointer element type accesses (NFC) 2022-01-25 14:31:51 +01:00
BinaryFormat [AIX] identify big archive magic as archive. 2022-01-19 12:18:45 -05:00
Bitcode [X86][MS] Change the alignment of f80 to 16 bytes on Windows 32bits to match with ICC 2022-01-23 09:58:46 +08:00
Bitstream PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
CodeGen Reapply D124184, [DebugInfo][InstrRef] Add a size operand to DBG_PHI 2022-04-26 15:49:22 +01:00
DebugInfo [llvm-gsymutil][NFC] refactor AddressRange&AddresRanges structures. 2022-04-26 12:00:43 +03:00
Debuginfod [Debuginfod] Don't depend on Content-Length. 2022-03-21 17:27:45 +00:00
Demangle [demangler] No need to space adjacent template closings 2022-05-09 06:14:44 -07:00
ExecutionEngine [ORC] Add an ExecutorAddr::toPtr overload for function types. 2022-05-05 12:37:23 -07:00
FileCheck Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Frontend [OpenMPIRBuilder] Remove ContinuationBB argument from Body callback. 2022-04-26 16:35:01 -05:00
FuzzMutate Revert "[FuzzMutate] Don't insert instructions after musttail call" 2022-03-16 17:29:27 +01:00
IR [CAPI] Expose CastInst::getCastOpcode in C API 2022-04-30 18:40:04 -04:00
InterfaceStub [ifs][elfabi] Merge llvm-ifs/elfabi tools 2021-07-19 11:23:19 -07:00
LineEditor
Linker Revert "[OpenMP][NFC] Add missing virtual destructor to silence warning" 2022-03-25 16:07:11 -05:00
MC [DWARF] Add API to get data from MCDwarfLineStr 2022-04-21 14:08:20 -07:00
MI Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
MIR [X86] Set Int_MemBarrier as a meta-instruction 2022-03-18 13:12:28 +08:00
ObjCopy Fix for buildbot failure: https://lab.llvm.org/buildbot#builders/110/builds/11051 2022-03-09 14:26:46 +03:00
Object Fix DXBC magic parsing 2022-05-03 14:41:48 -07:00
ObjectYAML
Option [OptTable] Reapply Improve error message output for grouped short options 2021-09-03 11:13:52 +01:00
Passes Cleanup includes: LLVMAnalysis 2022-03-01 18:01:54 +01:00
ProfileData [memprof] Use unknown_function error type for missing functions 2022-05-04 13:02:30 -07:00
Remarks Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
Support [AArch64] Ampere1 does not support MTE 2022-05-09 11:29:42 +02:00
TableGen [TableGen] Add a library-based entry point for parsing td files 2022-03-03 16:14:03 -08:00
Target Add PointerType analysis for DirectX backend 2022-04-25 17:49:43 -05:00
Testing Testing: Make TempFile safe to move; test Temp{Dir,File,Link} 2022-03-01 13:45:51 -08:00
TextAPI Replace PlatformKind with PlatformType. 2022-01-13 09:23:49 -08:00
Transforms [Attributor][FIX] Use AttributorConfig in the unit tests too 2022-04-15 18:36:38 -05:00
XRay Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
tools Cleanup include: DebugInfo/Symbolize 2022-02-24 13:25:11 +01:00
CMakeLists.txt Testing: Make TempFile safe to move; test Temp{Dir,File,Link} 2022-03-01 13:45:51 -08:00
unittest.cfg.in