SuccessChanges

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

Summary

  1. [clangd] Publish xref for macros from Index and AST. (details)
  2. Revert "[DWARF5][clang]: Added support for DebugInfo generation for auto (details)
  3. [lldb] Fix eh-frame-small-fde test for changes in lld (details)
  4. This option allows selecting the TLS size in the local exec TLS model, (details)
  5. ARMLowOverheadLoops: return earlier to avoid printing irrelevant dbg (details)
Commit 734aa1d133f264746f721a244d2c66bc99648ee5 by usx
[clangd] Publish xref for macros from Index and AST.
Summary: With this patch the `findReferences` API will return Xref for
macros. If the symbol under the cursor is a macro then we collect the
references to it from: 1. Main file by looking at the ParsedAST. (These
were added to the ParsedAST in https://reviews.llvm.org/D70008) 2. Files
other than the mainfile by looking at the:
* static index (Added in https://reviews.llvm.org/D70489)
* file index (Added in https://reviews.llvm.org/D71406) This patch
collects all the xref from the above places and outputs it in
`findReferences` API.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72395
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit e45fcfc3aa57bb237fd4fd694d0c257be66d5482 by sam.mccall
Revert "[DWARF5][clang]: Added support for DebugInfo generation for auto
return type for C++ member functions."
This reverts commit 6d6a4590c5d4c7fc7445d72fe685f966b0a8cafb, which
introduces a crash.
See https://reviews.llvm.org/D70524 for details.
The file was removedclang/test/CodeGenCXX/debug-info-auto-return.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
Commit 96b8e1ac4674dd3035b6cc7b1b7ed8b946208ab1 by pavel
[lldb] Fix eh-frame-small-fde test for changes in lld
lld in 2bfee35 started emitting relocations for some intra-section jumps
between global symbols. This shifted the code around a bit, invalidating
text expectations.
Change the symbols to local to keep the previous behavior.
The file was modifiedlldb/test/Shell/Unwind/Inputs/eh-frame-small-fde.s
Commit 10c11e4e2d05cf0e8f8251f50d84ce77eb1e9b8d by peter.smith
This option allows selecting the TLS size in the local exec TLS model,
which is the default TLS model for non-PIC objects. This allows large/
many thread local variables or a compact/fast code in an executable.
Specification is same as that of GCC. For example, the code model option
precedes the TLS size option.
TLS access models other than local-exec are not changed. It means
supoort of the large code model is only in the local exec TLS model.
Patch By KAWASHIMA Takahiro (kawashima-fj <t-kawashima@fujitsu.com>)
Reviewers: dmgreen, mstorsjo, t.p.northover, peter.smith, ostannard
Reviewd By: peter.smith Committed by: peter.smith
Differential Revision: https://reviews.llvm.org/D71688
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was removedllvm/test/CodeGen/AArch64/arm64-tls-execs.ll
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was addedllvm/test/CodeGen/AArch64/arm64-tls-initial-exec.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/Driver/tls-size.c
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64-tls-local-exec.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
Commit add04b9653848de583c542e0596737f7d7c21553 by sjoerd.meijer
ARMLowOverheadLoops: return earlier to avoid printing irrelevant dbg
msg. NFC
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp