SuccessChanges

Summary

  1. [CodeGen] Call ConvertTypeForMem instead of ConvertType (details)
  2. [scudo][standalone] Compact pointers for Caches/Batches (details)
  3. [clang,NFC] Fix typos in file headers (details)
  4. Rewrite MSVC toolchain discovery with VFS (details)
Commit ec4408ad692b20a01cca8b5d86f359f6f16bae87 by Akira
[CodeGen] Call ConvertTypeForMem instead of ConvertType

This fixes a crash that occurs when the type passed to the method is
`_Bool`.

rdar://74493389
The file was modifiedclang/test/CodeGenObjC/strong-in-c-struct.m (diff)
The file was modifiedclang/lib/CodeGen/CGNonTrivialStruct.cpp (diff)
Commit 2c56776a319edf33505ca6c7f9be59657cdaf52b by kostyak
[scudo][standalone] Compact pointers for Caches/Batches

This CL introduces configuration options to allow pointers to be
compacted in the thread-specific caches and transfer batches. This
offers the possibility to have them use 32-bit of space instead of
64-bit for the 64-bit Primary, thus cutting the size of the caches
and batches by nearly half (and as such the memory used in size
class 0). The cost is an additional read from the region information
in the fast path.

This is not a new idea, as it's being used in the sanitizer_common
64-bit primary. The difference here is that it is configurable via
the allocator config, with the possibility of not compacting at all.

This CL enables compacting pointers in the Android and Fuchsia default
configurations.

Differential Revision: https://reviews.llvm.org/D96435
The file was modifiedcompiler-rt/lib/scudo/standalone/release.h (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/primary_test.cpp (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/release_test.cpp (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/size_class_map.h (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/primary64.h (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/allocator_config.h (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/local_cache.h (diff)
Commit 9a887f652c2e87019d2a0dfaa2e03a447b056270 by Vitaly Buka
[clang,NFC] Fix typos in file headers
The file was modifiedclang/lib/CodeGen/VarBypassDetector.h (diff)
The file was modifiedclang/lib/CodeGen/VarBypassDetector.cpp (diff)
Commit 6d52c4819294dafb2c072011d72bb523092248a2 by aeubanks
Rewrite MSVC toolchain discovery with VFS

This fixes an issue where the toolchain discovery doesn't respect the
VFS's current working directory, specifically clangd not respecting a
relative /winsysroot.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D97437
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp (diff)