SuccessChanges

Summary

  1. Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability
  2. [Driver] Properly use values-X[ca].o, values-xpg[46].o on Solaris Builtins-*-sunos :: compiler_rt_logbf_test.c currently FAILs on Solaris, both SPARC and x86, 32 and 64-bit. It turned out that this is due to different behaviour of logb depending on the C standard compiled for, as documented on logb(3M): RETURN VALUES Upon successful completion, these functions return the exponent of x. If x is subnormal: o For SUSv3-conforming applications compiled with the c99 com- piler driver (see standards(7)), the exponent of x as if x were normalized is returned. o Otherwise, if compiled with the cc compiler driver, -1022, -126, and -16382 are returned for logb(), logbf(), and logbl(), respectively. Studio c99 and gcc control this by linking with the appropriate version of values-xpg[46].o, but clang uses neither of those. The following patch fixes this by following what gcc does, as corrected some time ago in Fix use of Solaris values-Xc.o (PR target/40411) https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02350.html and https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02384.html. Tested on x86_64-pc-solaris2.11, sparcv9-sun-solaris2.11, and x86_64-pc-linux-gnu. Differential Revision: https://reviews.llvm.org/D64793
  3. [lldb][clang] Reflect LangStandard.h move to clang/Basic D65562 <https://reviews.llvm.org/D65562> moves LangStandard.h from clang/Frontend to clang/Basic. This patch adjusts the single file in lldb that uses it to match. Tested on x86_64-pc-linux-gnu. Differential Revision: https://reviews.llvm.org/D65717
  4. Move LangStandard*, InputKind::Language to Basic This patch is a prerequisite for using LangStandard from Driver in https://reviews.llvm.org/D64793. It moves LangStandard* and InputKind::Language to Basic. It is mostly mechanical, with only a few changes of note: - enum Language has been changed into enum class Language : uint8_t to avoid a clash between OpenCL in enum Language and OpenCL in enum LangFeatures and not to increase the size of class InputKind. - Now that getLangStandardForName, which is currently unused, also checks both canonical and alias names, I've introduced a helper getLangKind which factors out a code pattern already used 3 times. The patch has been tested on x86_64-pc-solaris2.11, sparcv9-sun-solaris2.11, and x86_64-pc-linux-gnu. There's a companion patch for lldb which uses LangStandard.h (https://reviews.llvm.org/D65717). While polly includes isl which in turn uses InputKind::C, that part of the code isn't even built inside the llvm tree. I've posted a patch to allow for both InputKind::C and Language::C upstream (https://groups.google.com/forum/#!topic/isl-development/6oEvNWOSQFE). Differential Revision: https://reviews.llvm.org/D65562
  5. [yaml2obj][tests] Fix overly restrictive od output check Summary: rL364517 introduced further instances of `od` output checking of the kind previously corrected by rL363829. This patch corrects the issue by suppressing output of the input offset. The check remains sufficiently sensitive to test for the intended value of the specific byte since the relevant byte value is the only output we are expecting from `od`. Reviewers: grimar, xingxue, daltenty, jasonliu, jhenderson, MaskRay Reviewed By: grimar, MaskRay Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65680
  6. Revert "Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability" This reverts commit a885afa9fa8cab3b34f1ddf3d21535f88b662881.
  7. [yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections. This allows to write a test case for one of untested errors in llvm/Object/ELF.h. I did it in this patch to demonstrate. Differential revision: https://reviews.llvm.org/D65394
  8. [AArch64] Implement initial SVE calling convention support Summary: This patch adds initial support for the SVE calling convention such that SVE types can be passed as arguments and return values to/from a subroutine. The SVE AAPCS states [1]: z0-z7 are used to pass scalable vector arguments to a subroutine, and to return scalable vector results from a function. If a subroutine takes arguments in scalable vector or predicate registers, or if it is a function that returns results in such registers, it must ensure that the entire contents of z8-z23 are preserved across the call. In other cases it need only preserve the low 64 bits of z8-z15, as described in §5.1.2. p0-p3 are used to pass scalable predicate arguments to a subroutine and to return scalable predicate results from a function. If a subroutine takes arguments in scalable vector or predicate registers, or if it is a function that returns results in these registers, it must ensure that p4-p15 are preserved across the call. In other cases it need not preserve any scalable predicate register contents. SVE predicate and data registers are passed indirectly (i.e. spilled to the stack and pass the address) if they exceed the registers used for argument passing defined by the PCS referenced above. Until SVE stack support is merged we can't spill SVE registers to the stack, so currently an llvm_unreachable is used where we will eventually handle this. [1] https://static.docs.arm.com/100986/0000/100986_0000.pdf Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D65448
  9. [lldb][NFC] Fix documentation for ClangPersistentVariables::m_next_persistent_variable_id
  10. [MCA][doc] Add a section for the 'Bottleneck Analysis'. Also clarify the meaning of 'Block RThroughput' and 'RThroughput'.
  11. [obj2yaml] - Teach tool to dump SHT_NULL sections. Recently an advanced support of SHT_NULL sections was implemented in yaml2obj. This patch adds a corresponding support to obj2yaml. Differential revision: https://reviews.llvm.org/D65215
  12. Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability
  13. test-release.sh: Perform the sed substitution on both files (PR42739) The comparison would otherwise fail if Phase2 occurrs naturally in the object file. It would get replaced with Phase3 in the one .o, but not in the other. We were already running both files through sed to have them processed in this same way; this is a logical extension of that.
  14. Write the RequiredLibraries for 'all' in LibraryDependencies.inc in a deterministic order (PR42739)
  15. gn build: Merge r367839
  16. [lldb][NFC] Clang format GetNextPersistentVariableName signature
  17. [lldb] Move redundant persistent variable counter to ClangPersistentVariables Currently Target::m_next_persistent_variable_index is counting up for our persistent variables ($0, $1, ...) but we also have a unused counter that is supposed to do this in ClangPersistentVariables but that stays always at 0 (because we currently increase the target counter when we should increase that unused counter). This patch removes the counter in Target and lets the documented counter in ClangPersistentVariables do the variable counting. Patch *should* be NFC, but it might unexpectedly bring LLDB to new code paths that could contain exciting new bugs to fix.
  18. [clang][NFC] Remove unused private variable 'CI' in CrossTranslationUnit.h It seems because of the recent refactorings this variable has become unused and now we get this warning in the build logs: In file included from llvm/clang/lib/CrossTU/CrossTranslationUnit.cpp:12: llvm/clang/include/clang/CrossTU/CrossTranslationUnit.h:200:21: warning: private field 'CI' is not used [-Wunused-private-field] CompilerInstance &CI; ^ I'll remove them for now to get the builds back to green.
  19. [AST] Fix RecursiveASTVisitor visiting implicit constructor initializers. Summary: RecursiveASTVisitor was visiting implcit constructor initializers. This caused semantic highlighting in clangd to emit error logs. Fixes this by checking if the constructor is written or if the visitor should visit implicit decls. Reviewers: hokein, ilya-biryukov Subscribers: kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65735
Revision 367867 by nilanjana_basu:
Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/test/COFF/s_udt.sN/A
The file was modified/lldb/trunk/lit/SymbolFile/NativePDB/Inputs/s_constant.slldb.src/lit/SymbolFile/NativePDB/Inputs/s_constant.s
The file was modified/lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpplldb.src/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
The file was modified/llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.hllvm.src/include/llvm/DebugInfo/CodeView/SymbolRecord.h
The file was modified/llvm/trunk/include/llvm/MC/MCStreamer.hllvm.src/include/llvm/MC/MCStreamer.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cppllvm.src/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modified/llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cppllvm.src/lib/DebugInfo/CodeView/SymbolDumper.cpp
The file was modified/llvm/trunk/lib/DebugInfo/CodeView/SymbolRecordMapping.cppllvm.src/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp
The file was modified/llvm/trunk/lib/MC/MCAsmStreamer.cppllvm.src/lib/MC/MCAsmStreamer.cpp
The file was modified/llvm/trunk/lib/MC/MCParser/AsmParser.cppllvm.src/lib/MC/MCParser/AsmParser.cpp
The file was modified/llvm/trunk/lib/MC/MCStreamer.cppllvm.src/lib/MC/MCStreamer.cpp
The file was modified/llvm/trunk/lib/ObjectYAML/CodeViewYAMLSymbols.cppllvm.src/lib/ObjectYAML/CodeViewYAMLSymbols.cpp
The file was modified/llvm/trunk/test/DebugInfo/COFF/fp-stack.llllvm.src/test/DebugInfo/COFF/fp-stack.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variable-gap.llllvm.src/test/DebugInfo/COFF/local-variable-gap.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variables.llllvm.src/test/DebugInfo/COFF/local-variables.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/nrvo.llllvm.src/test/DebugInfo/COFF/nrvo.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/pieces.llllvm.src/test/DebugInfo/COFF/pieces.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/register-variables.llllvm.src/test/DebugInfo/COFF/register-variables.ll
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range-align.sllvm.src/test/MC/COFF/cv-def-range-align.s
The file was added/llvm/trunk/test/MC/COFF/cv-def-range-errors.sllvm.src/test/MC/COFF/cv-def-range-errors.s
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range-gap.sllvm.src/test/MC/COFF/cv-def-range-gap.s
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range.sllvm.src/test/MC/COFF/cv-def-range.s
The file was modified/llvm/trunk/tools/llvm-pdbutil/MinimalSymbolDumper.cppllvm.src/tools/llvm-pdbutil/MinimalSymbolDumper.cpp
Revision 367866 by ro:
[Driver] Properly use values-X[ca].o, values-xpg[46].o on Solaris

Builtins-*-sunos :: compiler_rt_logbf_test.c currently FAILs on Solaris, both SPARC and
x86, 32 and 64-bit.

It turned out that this is due to different behaviour of logb depending on the C
standard compiled for, as documented on logb(3M):

  RETURN VALUES
         Upon successful completion, these functions return the exponent of x.
 
         If x is subnormal:
 
             o      For SUSv3-conforming applications compiled with the c99 com-
                    piler  driver  (see standards(7)), the exponent of x as if x
                    were normalized is returned.
 
             o      Otherwise, if compiled with the cc compiler  driver,  -1022,
                    -126,  and  -16382  are  returned  for  logb(), logbf(), and
                    logbl(), respectively.

Studio c99 and gcc control this by linking with the appropriate version of values-xpg[46].o, but clang uses neither of those.

The following patch fixes this by following what gcc does, as corrected some time ago in

  Fix use of Solaris values-Xc.o (PR target/40411)
  https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02350.html and
  https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02384.html.

Tested on x86_64-pc-solaris2.11, sparcv9-sun-solaris2.11, and x86_64-pc-linux-gnu.

Differential Revision: https://reviews.llvm.org/D64793
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Driver/ToolChains/Solaris.cppclang.src/lib/Driver/ToolChains/Solaris.cpp
The file was added/cfe/trunk/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-Xa.oclang.src/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-Xa.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-Xc.oclang.src/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-Xc.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-xpg4.oclang.src/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-xpg4.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-xpg6.oclang.src/test/Driver/Inputs/solaris_sparc_tree/usr/lib/values-xpg6.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-Xa.oclang.src/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-Xa.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-Xc.oclang.src/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-Xc.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-xpg4.oclang.src/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-xpg4.o
The file was added/cfe/trunk/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-xpg6.oclang.src/test/Driver/Inputs/solaris_x86_tree/usr/lib/values-xpg6.o
The file was added/cfe/trunk/test/Driver/solaris-ld-values.cclang.src/test/Driver/solaris-ld-values.c
The file was added/cfe/trunk/test/Driver/solaris-ld-values.cppclang.src/test/Driver/solaris-ld-values.cpp
Revision 367865 by ro:
[lldb][clang] Reflect LangStandard.h move to clang/Basic

D65562 <https://reviews.llvm.org/D65562> moves LangStandard.h from clang/Frontend to clang/Basic.  This patch
adjusts the single file in lldb that uses it to match.

Tested on x86_64-pc-linux-gnu.

Differential Revision: https://reviews.llvm.org/D65717
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/source/Symbol/ClangASTContext.cpplldb.src/source/Symbol/ClangASTContext.cpp
Revision 367864 by ro:
Move LangStandard*, InputKind::Language to Basic

This patch is a prerequisite for using LangStandard from Driver in
https://reviews.llvm.org/D64793.

It moves LangStandard* and InputKind::Language to Basic.  It is mostly
mechanical, with only a few changes of note:

- enum Language has been changed into enum class Language : uint8_t to
  avoid a clash between OpenCL in enum Language and OpenCL in enum
  LangFeatures and not to increase the size of class InputKind.

- Now that getLangStandardForName, which is currently unused, also checks
  both canonical and alias names, I've introduced a helper getLangKind
  which factors out a code pattern already used 3 times.

The patch has been tested on x86_64-pc-solaris2.11, sparcv9-sun-solaris2.11,
and x86_64-pc-linux-gnu.

There's a companion patch for lldb which uses LangStandard.h
(https://reviews.llvm.org/D65717).

While polly includes isl which in turn uses InputKind::C, that part of the
code isn't even built inside the llvm tree.  I've posted a patch to allow
for both InputKind::C and Language::C upstream
(https://groups.google.com/forum/#!topic/isl-development/6oEvNWOSQFE).

Differential Revision: https://reviews.llvm.org/D65562
Change TypePath in RepositoryPath in Workspace
The file was added/cfe/trunk/include/clang/Basic/LangStandard.hclang.src/include/clang/Basic/LangStandard.h
The file was added/cfe/trunk/include/clang/Basic/LangStandards.defclang.src/include/clang/Basic/LangStandards.def
The file was modified/cfe/trunk/include/clang/Driver/Options.tdclang.src/include/clang/Driver/Options.td
The file was modified/cfe/trunk/include/clang/Frontend/CompilerInvocation.hclang.src/include/clang/Frontend/CompilerInvocation.h
The file was modified/cfe/trunk/include/clang/Frontend/FrontendOptions.hclang.src/include/clang/Frontend/FrontendOptions.h
The file was removed/cfe/trunk/include/clang/Frontend/LangStandard.hclang.src/include/clang/Frontend/LangStandard.h
The file was removed/cfe/trunk/include/clang/Frontend/LangStandards.defclang.src/include/clang/Frontend/LangStandards.def
The file was modified/cfe/trunk/include/clang/module.modulemapclang.src/include/clang/module.modulemap
The file was modified/cfe/trunk/lib/Basic/CMakeLists.txtclang.src/lib/Basic/CMakeLists.txt
The file was added/cfe/trunk/lib/Basic/LangStandards.cppclang.src/lib/Basic/LangStandards.cpp
The file was modified/cfe/trunk/lib/CodeGen/CodeGenAction.cppclang.src/lib/CodeGen/CodeGenAction.cpp
The file was modified/cfe/trunk/lib/Frontend/ASTUnit.cppclang.src/lib/Frontend/ASTUnit.cpp
The file was modified/cfe/trunk/lib/Frontend/CMakeLists.txtclang.src/lib/Frontend/CMakeLists.txt
The file was modified/cfe/trunk/lib/Frontend/CompilerInstance.cppclang.src/lib/Frontend/CompilerInstance.cpp
The file was modified/cfe/trunk/lib/Frontend/CompilerInvocation.cppclang.src/lib/Frontend/CompilerInvocation.cpp
The file was modified/cfe/trunk/lib/Frontend/FrontendAction.cppclang.src/lib/Frontend/FrontendAction.cpp
The file was modified/cfe/trunk/lib/Frontend/FrontendActions.cppclang.src/lib/Frontend/FrontendActions.cpp
The file was modified/cfe/trunk/lib/Frontend/FrontendOptions.cppclang.src/lib/Frontend/FrontendOptions.cpp
The file was removed/cfe/trunk/lib/Frontend/LangStandards.cppclang.src/lib/Frontend/LangStandards.cpp
The file was modified/cfe/trunk/lib/Frontend/PrecompiledPreamble.cppclang.src/lib/Frontend/PrecompiledPreamble.cpp
The file was modified/cfe/trunk/lib/Frontend/Rewrite/FrontendActions.cppclang.src/lib/Frontend/Rewrite/FrontendActions.cpp
The file was modified/cfe/trunk/lib/StaticAnalyzer/Frontend/ModelInjector.cppclang.src/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
The file was modified/cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cppclang.src/lib/Tooling/InterpolatingCompilationDatabase.cpp
The file was modified/cfe/trunk/unittests/Frontend/CodeGenActionTest.cppclang.src/unittests/Frontend/CodeGenActionTest.cpp
The file was modified/cfe/trunk/unittests/Frontend/FrontendActionTest.cppclang.src/unittests/Frontend/FrontendActionTest.cpp
The file was modified/cfe/trunk/unittests/Frontend/OutputStreamTest.cppclang.src/unittests/Frontend/OutputStreamTest.cpp
Revision 367862 by hubert.reinterpretcast:
[yaml2obj][tests] Fix overly restrictive od output check

Summary:
rL364517 introduced further instances of `od` output checking of the
kind previously corrected by rL363829. This patch corrects the issue by
suppressing output of the input offset. The check remains sufficiently
sensitive to test for the intended value of the specific byte since the
relevant byte value is the only output we are expecting from `od`.

Reviewers: grimar, xingxue, daltenty, jasonliu, jhenderson, MaskRay

Reviewed By: grimar, MaskRay

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65680
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/yaml2obj/elf-header-sh-fields.yamlllvm.src/test/tools/yaml2obj/elf-header-sh-fields.yaml
Revision 367861 by nilanjana_basu:
Revert "Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability"

This reverts commit a885afa9fa8cab3b34f1ddf3d21535f88b662881.
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/test/COFF/s_udt.sN/A
The file was modified/lldb/trunk/lit/SymbolFile/NativePDB/Inputs/s_constant.slldb.src/lit/SymbolFile/NativePDB/Inputs/s_constant.s
The file was modified/lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpplldb.src/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
The file was modified/llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.hllvm.src/include/llvm/DebugInfo/CodeView/SymbolRecord.h
The file was modified/llvm/trunk/include/llvm/MC/MCStreamer.hllvm.src/include/llvm/MC/MCStreamer.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cppllvm.src/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modified/llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cppllvm.src/lib/DebugInfo/CodeView/SymbolDumper.cpp
The file was modified/llvm/trunk/lib/DebugInfo/CodeView/SymbolRecordMapping.cppllvm.src/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp
The file was modified/llvm/trunk/lib/MC/MCAsmStreamer.cppllvm.src/lib/MC/MCAsmStreamer.cpp
The file was modified/llvm/trunk/lib/MC/MCParser/AsmParser.cppllvm.src/lib/MC/MCParser/AsmParser.cpp
The file was modified/llvm/trunk/lib/MC/MCStreamer.cppllvm.src/lib/MC/MCStreamer.cpp
The file was modified/llvm/trunk/lib/ObjectYAML/CodeViewYAMLSymbols.cppllvm.src/lib/ObjectYAML/CodeViewYAMLSymbols.cpp
The file was modified/llvm/trunk/test/DebugInfo/COFF/fp-stack.llllvm.src/test/DebugInfo/COFF/fp-stack.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variable-gap.llllvm.src/test/DebugInfo/COFF/local-variable-gap.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variables.llllvm.src/test/DebugInfo/COFF/local-variables.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/nrvo.llllvm.src/test/DebugInfo/COFF/nrvo.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/pieces.llllvm.src/test/DebugInfo/COFF/pieces.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/register-variables.llllvm.src/test/DebugInfo/COFF/register-variables.ll
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range-align.sllvm.src/test/MC/COFF/cv-def-range-align.s
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range-gap.sllvm.src/test/MC/COFF/cv-def-range-gap.s
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range.sllvm.src/test/MC/COFF/cv-def-range.s
The file was modified/llvm/trunk/tools/llvm-pdbutil/MinimalSymbolDumper.cppllvm.src/tools/llvm-pdbutil/MinimalSymbolDumper.cpp
Revision 367860 by grimar:
[yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections.

This allows to write a test case for one of untested errors
in llvm/Object/ELF.h.

I did it in this patch to demonstrate.

Differential revision: https://reviews.llvm.org/D65394
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Object/ELF.hllvm.src/include/llvm/Object/ELF.h
The file was modified/llvm/trunk/test/Object/invalid.testllvm.src/test/Object/invalid.test
The file was modified/llvm/trunk/test/tools/yaml2obj/versym-section.yamlllvm.src/test/tools/yaml2obj/versym-section.yaml
The file was modified/llvm/trunk/tools/yaml2obj/yaml2elf.cppllvm.src/tools/yaml2obj/yaml2elf.cpp
Revision 367859 by c-rhodes:
[AArch64] Implement initial SVE calling convention support

Summary:

This patch adds initial support for the SVE calling convention such that
SVE types can be passed as arguments and return values to/from a
subroutine.

The SVE AAPCS states [1]:

    z0-z7 are used to pass scalable vector arguments to a subroutine,
    and to return scalable vector results from a function. If a
    subroutine takes arguments in scalable vector or predicate
    registers, or if it is a function that returns results in such
    registers, it must ensure that the entire contents of z8-z23 are
    preserved across the call. In other cases it need only preserve the
    low 64 bits of z8-z15, as described in §5.1.2.

    p0-p3 are used to pass scalable predicate arguments to a subroutine
    and to return scalable predicate results from a function. If a
    subroutine takes arguments in scalable vector or predicate
    registers, or if it is a function that returns results in these
    registers, it must ensure that p4-p15 are preserved across the call.
    In other cases it need not preserve any scalable predicate register
    contents.

SVE predicate and data registers are passed indirectly (i.e. spilled to the
stack and pass the address) if they exceed the registers used for argument
passing defined by the PCS referenced above.  Until SVE stack support is merged
we can't spill SVE registers to the stack, so currently an llvm_unreachable is
used where we will eventually handle this.

[1] https://static.docs.arm.com/100986/0000/100986_0000.pdf

Reviewed By: ostannard

Differential Revision: https://reviews.llvm.org/D65448
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/IR/CallingConv.hllvm.src/include/llvm/IR/CallingConv.h
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64CallingConvention.tdllvm.src/lib/Target/AArch64/AArch64CallingConvention.td
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cppllvm.src/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64RegisterInfo.cppllvm.src/lib/Target/AArch64/AArch64RegisterInfo.cpp
The file was added/llvm/trunk/test/CodeGen/AArch64/sve-calling-convention.llllvm.src/test/CodeGen/AArch64/sve-calling-convention.ll
Revision 367857 by Raphael Isemann:
[lldb][NFC] Fix documentation for ClangPersistentVariables::m_next_persistent_variable_id
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpplldb.src/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
The file was modified/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.hlldb.src/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
Revision 367853 by adibiagio:
[MCA][doc] Add a section for the 'Bottleneck Analysis'.

Also clarify the meaning of 'Block RThroughput' and 'RThroughput'.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/llvm-mca.rstllvm.src/docs/CommandGuide/llvm-mca.rst
Revision 367852 by grimar:
[obj2yaml] - Teach tool to dump SHT_NULL sections.

Recently an advanced support of SHT_NULL sections
was implemented in yaml2obj.

This patch adds a corresponding support to obj2yaml.

Differential revision: https://reviews.llvm.org/D65215
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/tools/obj2yaml/elf-null-section.yamlllvm.src/test/tools/obj2yaml/elf-null-section.yaml
The file was modified/llvm/trunk/tools/obj2yaml/elf2yaml.cppllvm.src/tools/obj2yaml/elf2yaml.cpp
Revision 367850 by nilanjana_basu:
Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/test/COFF/s_udt.sN/A
The file was modified/lldb/trunk/lit/SymbolFile/NativePDB/Inputs/s_constant.slldb.src/lit/SymbolFile/NativePDB/Inputs/s_constant.s
The file was modified/lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpplldb.src/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
The file was modified/llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.hllvm.src/include/llvm/DebugInfo/CodeView/SymbolRecord.h
The file was modified/llvm/trunk/include/llvm/MC/MCStreamer.hllvm.src/include/llvm/MC/MCStreamer.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cppllvm.src/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modified/llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cppllvm.src/lib/DebugInfo/CodeView/SymbolDumper.cpp
The file was modified/llvm/trunk/lib/DebugInfo/CodeView/SymbolRecordMapping.cppllvm.src/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp
The file was modified/llvm/trunk/lib/MC/MCAsmStreamer.cppllvm.src/lib/MC/MCAsmStreamer.cpp
The file was modified/llvm/trunk/lib/MC/MCParser/AsmParser.cppllvm.src/lib/MC/MCParser/AsmParser.cpp
The file was modified/llvm/trunk/lib/MC/MCStreamer.cppllvm.src/lib/MC/MCStreamer.cpp
The file was modified/llvm/trunk/lib/ObjectYAML/CodeViewYAMLSymbols.cppllvm.src/lib/ObjectYAML/CodeViewYAMLSymbols.cpp
The file was modified/llvm/trunk/test/DebugInfo/COFF/fp-stack.llllvm.src/test/DebugInfo/COFF/fp-stack.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variable-gap.llllvm.src/test/DebugInfo/COFF/local-variable-gap.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variables.llllvm.src/test/DebugInfo/COFF/local-variables.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/nrvo.llllvm.src/test/DebugInfo/COFF/nrvo.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/pieces.llllvm.src/test/DebugInfo/COFF/pieces.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/register-variables.llllvm.src/test/DebugInfo/COFF/register-variables.ll
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range-align.sllvm.src/test/MC/COFF/cv-def-range-align.s
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range-gap.sllvm.src/test/MC/COFF/cv-def-range-gap.s
The file was modified/llvm/trunk/test/MC/COFF/cv-def-range.sllvm.src/test/MC/COFF/cv-def-range.s
The file was modified/llvm/trunk/tools/llvm-pdbutil/MinimalSymbolDumper.cppllvm.src/tools/llvm-pdbutil/MinimalSymbolDumper.cpp
Revision 367847 by hans:
test-release.sh: Perform the sed substitution on both files (PR42739)

The comparison would otherwise fail if Phase2 occurrs naturally in the
object file. It would get replaced with Phase3 in the one .o, but not
in the other.

We were already running both files through sed to have them processed in
this same way; this is a logical extension of that.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/release/test-release.shllvm.src/utils/release/test-release.sh
Revision 367846 by hans:
Write the RequiredLibraries for 'all' in LibraryDependencies.inc in a deterministic order (PR42739)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/llvm-build/llvmbuild/main.pyllvm.src/utils/llvm-build/llvmbuild/main.py
Revision 367844 by nico:
gn build: Merge r367839
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/BUILD.gnllvm.src/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
Revision 367843 by Raphael Isemann:
[lldb][NFC] Clang format GetNextPersistentVariableName signature
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/include/lldb/Expression/ExpressionVariable.hlldb.src/include/lldb/Expression/ExpressionVariable.h
The file was modified/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.hlldb.src/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
Revision 367842 by Raphael Isemann:
[lldb] Move redundant persistent variable counter to ClangPersistentVariables

Currently Target::m_next_persistent_variable_index is counting up
for our persistent variables ($0, $1, ...) but we also have a
unused counter that is supposed to do this in
ClangPersistentVariables but that stays always at 0 (because
we currently increase the target counter when we should increase
that unused counter).

This patch removes the counter in Target and lets the documented
counter in ClangPersistentVariables do the variable counting.

Patch *should* be NFC, but it might unexpectedly bring LLDB to
new code paths that could contain exciting new bugs to fix.
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/include/lldb/Expression/ExpressionVariable.hlldb.src/include/lldb/Expression/ExpressionVariable.h
The file was modified/lldb/trunk/include/lldb/Target/Target.hlldb.src/include/lldb/Target/Target.h
The file was modified/lldb/trunk/source/Expression/ExpressionVariable.cpplldb.src/source/Expression/ExpressionVariable.cpp
The file was modified/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.hlldb.src/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
Revision 367840 by Raphael Isemann:
[clang][NFC] Remove unused private variable 'CI' in CrossTranslationUnit.h

It seems because of the recent refactorings this variable has become unused
and now we get this warning in the build logs:

In file included from llvm/clang/lib/CrossTU/CrossTranslationUnit.cpp:12:
llvm/clang/include/clang/CrossTU/CrossTranslationUnit.h:200:21: warning: private field 'CI' is not used [-Wunused-private-field]
  CompilerInstance &CI;
                    ^

I'll remove them for now to get the builds back to green.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/CrossTU/CrossTranslationUnit.hclang.src/include/clang/CrossTU/CrossTranslationUnit.h
The file was modified/cfe/trunk/lib/CrossTU/CrossTranslationUnit.cppclang.src/lib/CrossTU/CrossTranslationUnit.cpp
Revision 367839 by jvikstrom:
[AST] Fix RecursiveASTVisitor visiting implicit constructor initializers.

Summary: RecursiveASTVisitor was visiting implcit constructor initializers. This caused semantic highlighting in clangd to emit error logs. Fixes this by checking if the constructor is written or if the visitor should visit implicit decls.

Reviewers: hokein, ilya-biryukov

Subscribers: kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65735
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/RecursiveASTVisitor.hclang.src/include/clang/AST/RecursiveASTVisitor.h
The file was modified/cfe/trunk/unittests/Tooling/CMakeLists.txtclang.src/unittests/Tooling/CMakeLists.txt
The file was added/cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cppclang.src/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp