SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [llvm-locstats][NFC] Support OOP concept (details)
  2. Revert "[RISCV] Add Clang frontend support for Bitmanip extension" (details)
  3. [yaml2obj/obj2yaml] - Add support for SHT_RELR sections. (details)
  4. [llvm-locstats] Add the --draw-plot option (details)
  5. [AArch64][SVE] Add ptest intrinsics (details)
  6. [Support] Replace Windows __declspec(thread) with thread_local for (details)
  7. Revert "[yaml2obj/obj2yaml] - Add support for SHT_RELR sections." (details)
  8. [Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using (details)
  9. [llvm-locstats] Fix the docs (details)
  10. [NFC] Adjust test cases numbering, test commit. (details)
  11. [AArch64][SVE] Fold variable into assert to silence unused variable (details)
  12. [lldb] Add expect_expr function for testing expression evaluation in (details)
  13. [yaml2obj/obj2yaml] - Add support for SHT_RELR sections. (details)
Commit a3ebc40644d7e93841d1f8c8994f1f22023960ad by djordje.todorovic
[llvm-locstats][NFC] Support OOP concept
Making these changes, the code becomes more robust and easier for adding
the new features.
  -Introduce the LocationStats class representing the statistics
-Add the pretty_print() method in the LocationStats class
-Add additional '-' for the program options
-Add the verify_program_inputs() function
-Add the parse_locstats() function
-Rename 'results' => 'opts'
-Add more comments
Differential Revision: https://reviews.llvm.org/D71868
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
Commit cbe681bd8339d3a018d25441a5f4ef9da2bd017d by scott.egerton
Revert "[RISCV] Add Clang frontend support for Bitmanip extension"
This reverts commit 57cf6ee9c84434161088c39a6f8dd2aae14eb12d.
The file was modifiedclang/lib/Basic/Targets/RISCV.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/lib/Basic/Targets/RISCV.cpp
The file was modifiedclang/test/Preprocessor/riscv-target-features.c
Commit 46d11e30ee807accefd14e0b7f306647963a39b5 by grimar
[yaml2obj/obj2yaml] - Add support for SHT_RELR sections.
The encoded sequence of Elf*_Relr entries in a SHT_RELR section looks
like [ AAAAAAAA BBBBBBB1 BBBBBBB1 ... AAAAAAAA BBBBBB1 ... ] i.e. start
with an address, followed by any number of bitmaps. The address entry
encodes 1 relocation. The subsequent bitmap entries encode up to 63(31)
relocations each, at subsequent offsets following the last address
entry.
More information is here:
https://github.com/llvm-mirror/llvm/blob/master/lib/Object/ELF.cpp#L272
This patch adds a support for these sections.
Differential revision: https://reviews.llvm.org/D71872
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was addedllvm/test/tools/obj2yaml/relr-section.yaml
The file was addedllvm/test/tools/yaml2obj/ELF/relr-section.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
Commit ada964661e2b4d86b0753c99265c812029a3d1d2 by djordje.todorovic
[llvm-locstats] Add the --draw-plot option
When using the option, draw the histogram representing the debug
location buckets. The resulting histogram will be saved in a png file.
Differential Revision: https://reviews.llvm.org/D71869
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
Commit 93a4dede3a5ecb110dd7cdfd7faa48e3448844d8 by cullen.rhodes
[AArch64][SVE] Add ptest intrinsics
Summary: Implements the following intrinsics:
    * @llvm.aarch64.sve.ptest.any
   * @llvm.aarch64.sve.ptest.first
   * @llvm.aarch64.sve.ptest.last
Reviewers: sdesmalen, efriedma, dancgr, mgudim, cameron.mcinally,
rengolin
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72398
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
The file was modifiedllvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-setcc.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 884a65af5ceebce76519749ed6eb9a86d0596771 by russell.gallop
[Support] Replace Windows __declspec(thread) with thread_local for
LLVM_THREAD_LOCAL
Windows minimum host tools version is now VS2017, which supports C++11
thread_local so use this for LLVM_THREAD_LOCAL instead of
declspec(thread). According to [1], thread_local is implemented with
declspec(thread) so this should be NFC.
[1] https://docs.microsoft.com/en-us/cpp/cpp/thread?view=vs-2017
Differential Revision: https://reviews.llvm.org/D72399
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit ca6f616532780b236556fc129cda3243d31cb01a by grimar
Revert "[yaml2obj/obj2yaml] - Add support for SHT_RELR sections."
This reverts commit 46d11e30ee807accefd14e0b7f306647963a39b5.
It broke bots. E.g.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/60744
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was removedllvm/test/tools/yaml2obj/ELF/relr-section.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was removedllvm/test/tools/obj2yaml/relr-section.yaml
Commit a90ea386981f4fa3c7cb7f62c6900069764b05a8 by scott.egerton
[Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using
-fdollars-in-identifiers flag.
Summary: Previously, the -fdollars-in-identifiers flag allows the '$'
symbol to be used in an identifier but the universal character name
equivalent '\u0024' is not allowed. This patch changes this, so that
\u0024 is valid in identifiers.
Reviewers: rsmith, jordan_rose
Reviewed By: rsmith
Subscribers: dexonsmith, simoncook, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71758
The file was modifiedclang/test/Preprocessor/ucn-pp-identifier.c
The file was modifiedclang/lib/Lex/Lexer.cpp
Commit ce8795eb6c054328173876fe3fb126fd0b0b8aba by djordje.todorovic
[llvm-locstats] Fix the docs
Add the missing picture for the documentation.
The file was addedllvm/docs/CommandGuide/locstats-draw-plot.png
Commit 019c8d9d1511a07d2004667d2240f3e47cb991ec by arkady.shlykov
[NFC] Adjust test cases numbering, test commit.
Summary: Test case test14 is missing, adjust the numbering to have a
consecutive range. Also a test commit to verify commit access.
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
Commit 06cfcdcca7de9c88a1e885eff0d0c4c07090ad48 by benny.kra
[AArch64][SVE] Fold variable into assert to silence unused variable
warnings in Release builds
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 13f22f5d5958a46db1212a083a426e339204c783 by Raphael Isemann
[lldb] Add expect_expr function for testing expression evaluation in
dotests.
Summary: This patch adds a new function to lldbtest: `expect_expr`. This
function is supposed to replace the current approach of calling
`expect`/`runCmd` with `expr`, `p` etc.
`expect_expr` allows evaluating expressions and matching their
value/summary/type/error message without having to do any string
matching that might allow unintended passes (e.g., `self.expect("expr
3+4", substrs=["7"])` can unexpectedly pass for results like `(Class7)
$0 = 7`, `(int) $7 = 22`, `(int) $0 = 77` and so on).
This only uses the function in a few places to test and demonstrate it.
I'll migrate the tests in follow up commits.
Reviewers: JDevlieghere, shafik, labath
Reviewed By: labath
Subscribers: christof, abidh, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70314
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallBuiltinFunction.py
Commit 7570d387c21935b58afa67cb9ee17250e38721fa by grimar
[yaml2obj/obj2yaml] - Add support for SHT_RELR sections.
Note: this is a reland with a trivial 2 lines fix in
ELFState<ELFT>::writeSectionContent.
     It adds a check similar to ones we already have for other sections
to fix the case revealed
     by bots, like
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/60744.
The encoded sequence of Elf*_Relr entries in a SHT_RELR section looks
like [ AAAAAAAA BBBBBBB1 BBBBBBB1 ... AAAAAAAA BBBBBB1 ... ] i.e. start
with an address, followed by any number of bitmaps. The address entry
encodes 1 relocation. The subsequent bitmap entries encode up to 63(31)
relocations each, at subsequent offsets following the last address
entry.
More information is here:
https://github.com/llvm-mirror/llvm/blob/master/lib/Object/ELF.cpp#L272
This patch adds a support for these sections.
Differential revision: https://reviews.llvm.org/D71872
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp