Changes

Summary

  1. [PowerPC] iterate on the SmallSet directly; NFC (details)
  2. Add basic aarch64-none-elf bare metal driver. (details)
  3. [clang][ASTImporter] Fix for importing functions with EST_Unevaluated prototype. (details)
  4. [fir] Add utility function to FIRBuilder and MutableBox (details)
  5. [lldb] Fix TestCompressedVectors after array type name change (details)
  6. [lldb] Remove ConstString from ABI, Architecture and Disassembler plugin names (details)
  7. [Analyzer][NFC] Move RangeConstraintManager's def before ConstraintAssignor's def (details)
  8. [Analyzer][NFC] Add RangedConstraintManager to ConstraintAssignor (details)
  9. [Analyzer] Extend ConstraintAssignor to handle remainder op (details)
  10. Fix baremetal.cpp test to handle windows paths. (details)
Commit 86a5c32616439a9af5d447e54b70f1a3c2e60c6a by czhengsz
[PowerPC] iterate on the SmallSet directly; NFC
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
Commit 3b93dc6880f7ac94469e46980f1136901760d564 by kristof.beyls
Add basic aarch64-none-elf bare metal driver.

Differential Revision: https://reviews.llvm.org/D111134
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.cpp
The file was modifiedclang/test/Driver/gcc_forward.c
The file was modifiedclang/test/Driver/baremetal.cpp
Commit 4ff103c024005fea997143a4bdb7918edd8712eb by 1.int32
[clang][ASTImporter] Fix for importing functions with EST_Unevaluated prototype.

Fix for importing functions where the TypeSourceInfo is set and the
exception specification information contains reference to the function
declaration itself.

Reviewed By: martong, steakhal

Differential Revision: https://reviews.llvm.org/D112013
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit a2e7af75166dd840a7537aab29099d666296a7b3 by clementval
[fir] Add utility function to FIRBuilder and MutableBox

This patch is extracted from D111337 to make is smaller.
It introduce utility functions to the FIRBuilder and add the MutableBox
files.

- genShape
- readCharLen
- getExtents

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D112207

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
The file was modifiedflang/unittests/Optimizer/Builder/FIRBuilderTest.cpp
The file was modifiedflang/include/flang/Optimizer/Builder/FIRBuilder.h
The file was addedflang/include/flang/Optimizer/Builder/MutableBox.h
The file was addedflang/lib/Optimizer/Builder/MutableBox.cpp
The file was modifiedflang/include/flang/Lower/FIRBuilder.h
The file was modifiedflang/lib/Optimizer/Builder/CMakeLists.txt
The file was modifiedflang/lib/Optimizer/Builder/FIRBuilder.cpp
Commit 71cfce832054dfea8e79769f15a3fdc05d23b733 by Raphael Isemann
[lldb] Fix TestCompressedVectors after array type name change

aee49255074fd4ef38d97e6e70cbfbf2f9fd0fa7 turns array names such as `int [1]`
into `int[1]` (without the space). This probably breaks some user formatters,
but let's first get this test running while this is being discussed.
The file was modifiedlldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
Commit b5e9f83ea48e29f0fe6d03354303179e5daaec1e by pavel
[lldb] Remove ConstString from ABI, Architecture and Disassembler plugin names
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
The file was modifiedlldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_i386.cpp
The file was modifiedlldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp
The file was modifiedlldb/source/Core/Disassembler.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_i386.h
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.h
The file was modifiedlldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.h
The file was modifiedlldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h
The file was modifiedlldb/source/Plugins/Architecture/Mips/ArchitectureMips.h
The file was modifiedlldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.h
The file was modifiedlldb/source/Core/PluginManager.cpp
The file was modifiedlldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.cpp
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h
The file was modifiedlldb/source/Plugins/Architecture/Arm/ArchitectureArm.h
Commit 01b4ddbfbbad575437fb157e8c6e3e2ffb8f0cea by gabor.marton
[Analyzer][NFC] Move RangeConstraintManager's def before ConstraintAssignor's def

In this patch we simply move the definition of RangeConstraintManager before
the definition of ConstraintAssignor. This patch is exclusively needed for it's
child patch, so in the child the diff would be clean and the review would be
easier.

Differential Revision: https://reviews.llvm.org/D110387
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
Commit e2a2c8328f573c792dcf8707b6adb88fa38cca11 by gabor.marton
[Analyzer][NFC] Add RangedConstraintManager to ConstraintAssignor

In this patch we store a reference to `RangedConstraintManager` in the
`ConstraintAssignor`. This way it is possible to call back and reuse some
functions of it. This patch is exclusively needed for its child patches,
it is not intended to be a standalone patch.

Differential Revision: https://reviews.llvm.org/D111640
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
Commit 5f8dca023504ed21490a40ddc3a0241029782910 by gabor.marton
[Analyzer] Extend ConstraintAssignor to handle remainder op

Summary:
`a % b != 0` implies that `a != 0` for any `a` and `b`. This patch
extends the ConstraintAssignor to do just that. In fact, we could do
something similar with division and in case of multiplications we could
have some other inferences, but I'd like to keep these for future
patches.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51940

Reviewers: noq, vsavchenko, steakhal, szelethus, asdenyspetrov

Subscribers:

Differential Revision: https://reviews.llvm.org/D110357
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was addedclang/test/Analysis/constraint-assignor.c
Commit e5b87fb7222c0f16ca52c6e72540ed24c204638a by kristof.beyls
Fix baremetal.cpp test to handle windows paths.
The file was modifiedclang/test/Driver/baremetal.cpp

Summary

  1. Fix flake8 failures (details)
Commit 976f1c4e41dd47d852e3d35dd275ab23e9b51bfa by thomasp
Fix flake8 failures

Fix flake8 failures when running tox and add a note in the README to run
tox for testing patches.

Reviewed By: tnfchris

Differential Revision: https://reviews.llvm.org/D112304
The file was modifiedREADME.md (diff)
The file was modifiedlnt/formats/__init__.py (diff)
The file was modifiedlnt/testing/profile/profile.py (diff)