SuccessChanges

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

Summary

  1. Add a way to set traversal mode in clang-query (details)
  2. [yaml2obj] - Add a technical prefix for each unnamed chunk. (details)
  3. [yaml2obj] - Move "repeated section/fill name" check earlier. (details)
Commit 10f0f98eac5b20796ae804a2df2a9d853d59d3bd by steveire
Add a way to set traversal mode in clang-query

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73037
The file was modifiedclang-tools-extra/clang-query/QueryParser.h
The file was modifiedclang-tools-extra/clang-query/Query.h
The file was modifiedclang-tools-extra/unittests/clang-query/QueryParserTest.cpp
The file was modifiedclang-tools-extra/clang-query/Query.cpp
The file was modifiedclang-tools-extra/clang-query/QuerySession.h
The file was modifiedclang-tools-extra/clang-query/QueryParser.cpp
Commit 38c5d6f70060046bbbfec7491c7ba54a50fa5d16 by grimar
[yaml2obj] - Add a technical prefix for each unnamed chunk.

This change does not affect the produced binary.

In this patch I assign a technical suffix to each section/fill
(i.e. chunk) name when it is empty. It allows to simplify the code
slightly and improve error messages reported.

In the code we have the section to index mapping, SN2I, which is
globally used. With this change we can use it to map "empty"
names to indexes now, what is helpful.

Differential revision: https://reviews.llvm.org/D79984
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/section-link.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/custom-null-section.yaml
Commit 304b0ed40392830e6f833c56b38cdc8296f58ce4 by grimar
[yaml2obj] - Move "repeated section/fill name" check earlier.

This allows to simplify the code.
Doing checks early is generally useful.

Differential revision: https://reviews.llvm.org/D79985
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp