SuccessChanges

Summary

  1. gn build: Merge r372841
  2. [clangd] Move the existing heder-source-switch implemenation out of clangdServer. Summary: This is a NFC change. Reviewers: kadircet Reviewed By: kadircet Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67960
  3. [ARM] Ensure we do not attempt to create lsll #0 During legalisation we can end up with some pretty strange nodes, like shifts of 0. We need to make sure we don't try to make long shifts of these, ending up with invalid assembly instructions. A long shift with a zero immediate actually encodes a shift by 32. Differential Revision: https://reviews.llvm.org/D67664
  4. [llvm-readobj] - Don't crash when dumping .stack_sizes and unable to find a relocation resolver. The crash might happen when we have either a broken or unsupported object and trying to resolve relocations when dumping the .stack_sizes section. For the test case I used a 32-bits ELF header and a 64-bit relocation. In this case a null pointer is returned by the code instead of the relocation resolver function and then we crash. Differential revision: https://reviews.llvm.org/D67962
Revision 372842 by gnsyncbot:
gn build: Merge r372841
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn (diff)llvm.src/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
The file was modified/llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn (diff)llvm.src/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
Revision 372841 by hokein:
[clangd] Move the existing heder-source-switch implemenation out of clangdServer.

Summary: This is a NFC change.

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67960
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clangd/CMakeLists.txt (diff)clang-tools-extra.src/clangd/CMakeLists.txt
The file was modified/clang-tools-extra/trunk/clangd/ClangdServer.cpp (diff)clang-tools-extra.src/clangd/ClangdServer.cpp
The file was added/clang-tools-extra/trunk/clangd/HeaderSourceSwitch.cppclang-tools-extra.src/clangd/HeaderSourceSwitch.cpp
The file was added/clang-tools-extra/trunk/clangd/HeaderSourceSwitch.hclang-tools-extra.src/clangd/HeaderSourceSwitch.h
The file was modified/clang-tools-extra/trunk/clangd/unittests/CMakeLists.txt (diff)clang-tools-extra.src/clangd/unittests/CMakeLists.txt
The file was modified/clang-tools-extra/trunk/clangd/unittests/ClangdTests.cpp (diff)clang-tools-extra.src/clangd/unittests/ClangdTests.cpp
The file was added/clang-tools-extra/trunk/clangd/unittests/HeaderSourceSwitchTests.cppclang-tools-extra.src/clangd/unittests/HeaderSourceSwitchTests.cpp
Revision 372839 by dmgreen:
[ARM] Ensure we do not attempt to create lsll #0

During legalisation we can end up with some pretty strange nodes, like shifts
of 0. We need to make sure we don't try to make long shifts of these, ending up
with invalid assembly instructions. A long shift with a zero immediate actually
encodes a shift by 32.

Differential Revision: https://reviews.llvm.org/D67664
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (diff)llvm.src/lib/Target/ARM/ARMISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMInstrMVE.td (diff)llvm.src/lib/Target/ARM/ARMInstrMVE.td
The file was modified/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (diff)llvm.src/lib/Target/ARM/ARMInstrThumb2.td
The file was added/llvm/trunk/test/CodeGen/Thumb2/lsll0.llllvm.src/test/CodeGen/Thumb2/lsll0.ll
Revision 372838 by grimar:
[llvm-readobj] - Don't crash when dumping .stack_sizes and unable to find a relocation resolver.

The crash might happen when we have either a broken or unsupported object
and trying to resolve relocations when dumping the .stack_sizes section.

For the test case I used a 32-bits ELF header and a 64-bit relocation.
In this case a null pointer is returned by the code instead of the relocation
resolver function and then we crash.

Differential revision: https://reviews.llvm.org/D67962
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-readobj/stack-sizes.test (diff)llvm.src/test/tools/llvm-readobj/stack-sizes.test
The file was modified/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (diff)llvm.src/tools/llvm-readobj/ELFDumper.cpp