SuccessChanges

Summary

  1. scudo: Shrink secondary header and cache entry size by a word on Linux. NFCI. (details)
  2. ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef (details)
  3. Ignore DBGArchitecture from dsymForUUID's plist (details)
  4. [MLIR] Minor cleanup for Shape dialect. (details)
  5. [DFSan] Add custom wrapper for getsockopt. (details)
  6. Remove RemappedFiles param from ASTUnit::LoadFromASTFile, NFC (details)
  7. [OpenMP] Add strict mode in num_tasks and grainsize (details)
  8. X86: use a data driven configuration of Windows x86 libcalls (NFC) (details)
Commit a7790508522fc277963df974dc953077778e3c11 by peter
scudo: Shrink secondary header and cache entry size by a word on Linux. NFCI.

Normally compilers will allocate space for struct fields even if the
field is an empty struct. Use the [[no_unique_address]] attribute to
suppress that behavior. This attribute that was introduced in C++20,
but compilers that do not support [[no_unique_address]] will ignore
it since it uses C++11 attribute syntax.

Differential Revision: https://reviews.llvm.org/D92966
The file was modifiedcompiler-rt/lib/scudo/standalone/secondary.h
Commit 898d61b3cff5d79870d964c76d82764fef73efbb by Duncan P. N. Exon Smith
ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef

Migrate ObjCMT.cpp from using `const FileEntry*` to `FileEntryRef`. This
is one of the blockers for changing `SourceManager` to use
`FileEntryRef`.

This adds an initial version of `SourceManager::getFileEntryRefForID`,
which uses to `FileEntry::getLastRef`; after `SourceManager` switches,
`SourceManager::getFileEntryForID` will need to call this function.

This also adds uses of `FileEntryRef` as a key in a `DenseMap`, and a
call to `hash_value(Optional)` in `DenseMapInfo<EditEntry>`; support for
these were added in prep commits.

Differential Revision: https://reviews.llvm.org/D92678
The file was modifiedclang/include/clang/Basic/SourceManager.h
The file was modifiedclang/lib/ARCMigrate/ObjCMT.cpp
Commit 2cedc44a92337ccc0e8173b4dbf4cfe5650da8cd by Jason Molenda
Ignore DBGArchitecture from dsymForUUID's plist

When the architecture from the returned plist differs from the
architecture lldb will pick when loading the binary file, lldb will
reject the binary as not matching.  We are working with UUID's in
this case, so an architecture is not disambiguating anything; it
just opens this possibility for failing to load the specified binary.
Stop reading the architecture from the plist.

<rdar://problem/71612561>
Differential revision: https://reviews.llvm.org/D92692
The file was modifiedlldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py
The file was modifiedlldb/source/Symbol/LocateSymbolFileMacOSX.cpp
Commit b0d02b698b94d2fc5f7fbd430f5e9d3b032f8523 by jurahul
[MLIR] Minor cleanup for Shape dialect.

- Remove some unused types from the Shape dialect
- Fix from_extent_tensor to only allow 1D index tensors
- Fix assuming_yield to only allow shape.assuming as the parent op.
- Fix some documentation typos and reword some things.

Differential Revision: https://reviews.llvm.org/D92901
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
Commit 4eedc2e3af3aa01279c5131b527e452c34dde953 by mascasa
[DFSan] Add custom wrapper for getsockopt.

The wrapper clears shadow for optval and optlen when written.

Reviewed By: stephan.yichao.zhao, vitalybuka

Differential Revision: https://reviews.llvm.org/D92961
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/test/dfsan/custom.cpp
The file was modifiedcompiler-rt/lib/dfsan/done_abilist.txt
Commit c3ff9939bf7efeb11da49f100a277b4d8bbeff9f by Duncan P. N. Exon Smith
Remove RemappedFiles param from ASTUnit::LoadFromASTFile, NFC

This parameter is always set to `None`. Remove it.

Differential Revision: https://reviews.llvm.org/D90889
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/tools/c-index-test/core_main.cpp
The file was modifiedclang/include/clang/Frontend/ASTUnit.h
Commit 540007b42701b5ac9adba076824bfd648a265413 by nawrin.sultana
[OpenMP] Add strict mode in num_tasks and grainsize

This patch adds new API __kmpc_taskloop_5 to accomadate strict
modifier (introduced in OpenMP 5.1) in num_tasks and grainsize
clause.

Differential Revision: https://reviews.llvm.org/D92352
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/src/kmp.h
The file was addedopenmp/runtime/test/tasking/kmp_taskloop_5.c
The file was modifiedopenmp/runtime/src/dllexports
Commit ee74d1b420369d1dbe18be43d71d3392536ce228 by Saleem Abdulrasool
X86: use a data driven configuration of Windows x86 libcalls (NFC)

Rather than creating a series of associated calls and ensuring that
everything is lined up, use a table driven approach that ensures that
they two always stay in sync.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp