Changes

Summary

  1. [ELF] Decrease InputSectionBase::entsize to uint32_t (details)
  2. [analyzer][doc] Add user documenation for taint analysis (details)
  3. [ELF] Speed up/simplify removeUnusedSyntheticSections. NFC (details)
  4. [ELF] Avoid std::stable_partition which may allocate memory. NFC (details)
Commit 286c11165e24a7904328804ba10c332277d18b45 by i
[ELF] Decrease InputSectionBase::entsize to uint32_t

While here, change the sh_addralign argument to uint32_t (InputSection ctor's
argument and the member are uint32_t); add constexpr.
The file was modifiedlld/ELF/InputSection.h
Commit 4aac00a71db31121d70b140d7367e7f9d9992f66 by endre.fulop
[analyzer][doc] Add user documenation for taint analysis

Checker alpha.security.taint.TaintPropagation now has user documentation for
taint analysis with an example showing external YAML configuration format.
The format of the taint configuration file is now documented under the user
documentation of Clang SA.

Differential Revision: https://reviews.llvm.org/D113251
The file was addedclang/docs/analyzer/user-docs/TaintAnalysisConfiguration.rst
The file was modifiedclang/docs/analyzer/user-docs.rst
The file was modifiedclang/docs/analyzer/checkers.rst
Commit 99a2d940dd77a9c3699c71024b38baee98df8292 by i
[ELF] Speed up/simplify removeUnusedSyntheticSections. NFC

Make one change: when the OutputSection is nullptr (due to /DISCARD/ or garbage
collected BssSection (replaceCommonSymbols)), discard the SyntheticSection as well.
The file was modifiedlld/ELF/Writer.cpp
Commit 4709bacf18b41bf80b3a0fc1c9f16be60fedae8b by i
[ELF] Avoid std::stable_partition which may allocate memory. NFC
The file was modifiedlld/ELF/Writer.cpp