UnstableChanges

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

Summary

  1. [llvm-symbolizer] Support debug file lookup using build ID (details)
  2. Upstream debugserver arm64e support. (details)
  3. Add help text for parray and poarray aliases. (details)
  4. [llvm] Fixing MIRVRegNamerUtils to properly handle 2+ (details)
  5. Add parray example for lldb, vrs. *ptr@count gdb cmd. (details)
  6. [clang][IFS] Adding support for new clang interface stubs decl types. (details)
  7. [analyzer] Fix more ObjC accessor body farms after 2073dd2d. (details)
  8. Revert "Reland [AArch64][MachineOutliner] Return address signing for (details)
Commit 00e436f1307f506681782d26f4d3b9e98feada5a by phosek
[llvm-symbolizer] Support debug file lookup using build ID
Build ID is a protocol for looking up debug files that's already
supported by various tools including debuggers. For example, when
locating debug files, gdb would check the following directories:
- /usr/lib/debug/.build-id/ab/cdef1234.debug
- /usr/bin/ls.debug
- /usr/bin/.debug/ls.debug
- /usr/lib/debug/usr/bin/ls.debug
llvm-symbolizer currently consults all of these except for build ID
based one. This patch implements support for build ID lookup. The set of
debug directories to search is specified by the new option:
--debug-file-directory, whose name matches the debug-file-directory
variable used by gdb for the same purpose.
Differential Revision: https://reviews.llvm.org/D70759
The file was addedllvm/test/DebugInfo/symbolize-build-id.test
The file was modifiedllvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
The file was addedllvm/test/DebugInfo/Inputs/.build-id/ab/b50d82b6bdc861.debug
The file was modifiedllvm/lib/DebugInfo/Symbolize/Symbolize.cpp
The file was modifiedllvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Commit e11df585800596df2052a475f6191673b8f1a5c1 by Jason Molenda
Upstream debugserver arm64e support.
The changes are minor; primarily debugserver needs to go through
accessor functions/macros when changing pc/fp/sp/lr, and debugserver
needs to clear any existing pointer auth bits from values in two cases.
debugserver can fetch the number of bits used for addressing from a
sysctl, and will include that in the qHostInfo reply.  Update qHostInfo
documentation to document it.
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
The file was modifiedlldb/docs/lldb-gdb-remote.txt
Commit e001bf6330bb0e935b17c8a619e71bbded67e2eb by Jason Molenda
Add help text for parray and poarray aliases.
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
Commit fdc6f4b97b0e7378d6a3bd45458e7bed206d9305 by puyan
[llvm] Fixing MIRVRegNamerUtils to properly handle 2+
MachineBasicBlocks.
An interplay of code from D70210, along with code from the
Value-Numbering-esque hash-based namer from D70210, as well as some
crusty code from the original MIR-Canon code lead to multiple causes of
failure when canonicalizing or renaming vregs for MIR with multiple
basic blocks. This patch fixes those issues while deleting some no
longer needed code and adding a nice diamond test case to boot.
Differential Revision: https://reviews.llvm.org/D70478
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.h
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was addedllvm/test/CodeGen/MIR/X86/mir-canon-hash-bb.mir
The file was modifiedllvm/lib/CodeGen/MIRNamerPass.cpp
Commit e1a7d042c36509a385668ee04ddb3dad3241f503 by Jason Molenda
Add parray example for lldb, vrs. *ptr@count gdb cmd.
The file was modifiedlldb/docs/use/map.rst
Commit 07e445103e363c85ce7313c542dee20b2294fe72 by puyan
[clang][IFS] Adding support for new clang interface stubs decl types.
NamespaceAliasDecl UnresolvedUsingTypenameDecl CXXDeductionGuideDecl
ConstructorUsingShadowDecl
Differential Revision: https://reviews.llvm.org/D70728
The file was addedclang/test/InterfaceStubs/namespace-alias.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was addedclang/test/InterfaceStubs/unresolved-using-typename.cpp
The file was addedclang/test/InterfaceStubs/constructor-using-shadow.cpp
The file was addedclang/test/InterfaceStubs/cxxdeduction-guide.cpp
Commit 3c50f2544f7a8f0c41f4fc286064abce2d3629b5 by Artem Dergachev
[analyzer] Fix more ObjC accessor body farms after 2073dd2d.
Fix a crash when constructing a body farm for accessors of a property
that is declared and @synthesize'd in different (but related) interfaces
with the explicit ivar syntax.
This is a follow-up for 0b58b80e.
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/test/Analysis/properties.m
Commit f65267ee16fbb8b05c167d2459bea0cf357b7d1c by saugustine
Revert "Reland [AArch64][MachineOutliner] Return address signing for
outlined functions"
This reverts commit 02760b750b2ffcc0e2f5d78ecb137c80930c42c3.
The original commit is not asan clean.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/37147/steps/check-llvm%20asan/logs/stdio
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-mod.mir
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll