SuccessChanges

Summary

  1. [lldb] Alphabetically sort test categories (NFC) (details)
  2. [lldb] Add instrumentation runtime category (details)
  3. [clangd] Try harder to get accurate ranges for documentSymbols in macros (details)
  4. [lldb] Handle alternative output in TestAbortExitCode (details)
  5. [lldb] Remove unused code in GetVersion (NFC) (details)
  6. [SemaTemplate] Stop passing insertion position around during VarTemplate instantiation (details)
  7. [llvm] Export LLVM_USE_SPLIT_DWARF in LLVMConfig.cmake (details)
  8. [AMDGPU] Update LiveVariables in convertToThreeAddress() (details)
  9. [lld][WebAssembly] Add support for -Bsymbolic flag (details)
  10. [llc] -filetype=null: don't create .null if -o is not specified (details)
  11. Add accessors. (NFC) (details)
  12. [X86] Add HRESET instruction. (details)
  13. [gn build] Port 412cdcf2edf (details)
Commit e465ddac880228b879b5a6549adbb9c8a7f335bf by Jonas Devlieghere
[lldb] Alphabetically sort test categories (NFC)
The file was modifiedlldb/packages/Python/lldbsuite/test/test_categories.py
Commit 360ab009e2b95629388cef132ebe639c120ed35e by Jonas Devlieghere
[lldb] Add instrumentation runtime category
The file was modifiedlldb/packages/Python/lldbsuite/test/test_categories.py
The file was addedlldb/test/API/functionalities/ubsan/.categories
The file was addedlldb/test/API/functionalities/mtc/.categories
The file was addedlldb/test/API/functionalities/asan/.categories
The file was addedlldb/test/API/functionalities/tsan/.categories
Commit b764edc59ff7768e052bc2b9e76e3bb69dd5147b by zeratul976
[clangd] Try harder to get accurate ranges for documentSymbols in macros

Fixes https://github.com/clangd/clangd/issues/500

Differential Revision: https://reviews.llvm.org/D88463
The file was modifiedclang-tools-extra/clangd/FindSymbols.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
Commit a52cc9b4be362b12ca261000b723374d4b772a45 by davelee.com
[lldb] Handle alternative output in TestAbortExitCode

This test

On macOS, this test can instead return `status = 0 (0x00000000) Terminated due to signal 6`. This updates the `CHECK` accordingly.

Differential Revision: https://reviews.llvm.org/D89273
The file was modifiedlldb/test/Shell/Process/TestAbortExitCode.test
Commit 08924b54debcfd47bcf22a8213308cec7d22b975 by davelee.com
[lldb] Remove unused code in GetVersion (NFC)

Small cleanup to `lldb_private::GetVersion()`.

Differential Revision: https://reviews.llvm.org/D88939
The file was modifiedlldb/source/lldb.cpp
Commit cffb0dd54d41d8e249d2009467c4beb5b681ba26 by bruno.cardoso
[SemaTemplate] Stop passing insertion position around during VarTemplate instantiation

They can get stale at use time because of updates from other recursive
specializations. Instead, rely on the existence of previous declarations to add
the specialization.

Differential Revision: https://reviews.llvm.org/D87853
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/test/SemaTemplate/instantiate-var-template.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit 7f8dc347c9552f339b4410b679d91bceb2cc456e by Jonas Devlieghere
[llvm] Export LLVM_USE_SPLIT_DWARF in LLVMConfig.cmake

Export LLVM_USE_SPLIT_DWARF in LLVMConfig.cmake so that it can be used
from standalone builds of clang and lldb. Currently, there is no way for
standalone builds to know whether this option was set which means that
it only applies to LLVM.

Differential revision: https://reviews.llvm.org/D89282
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
Commit b215a26628feae349d663f687efe475d622970b7 by ruiling.song
[AMDGPU] Update LiveVariables in convertToThreeAddress()

This can fix an asan failure like below.
==15856==ERROR: AddressSanitizer: use-after-poison on address ...
READ of size 8 at 0x6210001a3cb0 thread T0
    #0 llvm::MachineInstr::getParent()
    #1 llvm::LiveVariables::VarInfo::findKill()
    #2 TwoAddressInstructionPass::rescheduleMIBelowKill()
    #3 TwoAddressInstructionPass::tryInstructionTransform()
    #4 TwoAddressInstructionPass::runOnMachineFunction()

We need to update the Kills if we replace instructions. The Kills
may be later accessed within TwoAddressInstruction pass.

Differential Revision: https://reviews.llvm.org/D89092
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/stale-livevar-in-twoaddr-pass.mir
Commit 2513407d39506edf2a98f647088a9e1789f8c418 by sbc
[lld][WebAssembly] Add support for -Bsymbolic flag

This flag works in a similar way to the ELF linker in that it
will resolve any defined symbols to their local definition with
a shared library or -pie executable.

This flag has no effect on static linking.

Differential Revision: https://reviews.llvm.org/D89152
The file was addedlld/test/wasm/bsymbolic.s
The file was modifiedlld/wasm/Config.h
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedlld/wasm/Relocations.cpp
The file was modifiedlld/wasm/Options.td
Commit 85c779d256207fe82ba876d19724c497ee904be7 by i
[llc] -filetype=null: don't create .null if -o is not specified

The new behavior is consistent with llvm-mc -filetype=null.
The file was modifiedllvm/test/CodeGen/X86/null-streamer.ll
The file was modifiedllvm/tools/llc/llc.cpp
Commit ec2c2ad2a2dddf24b052625b5ff434704ea43e24 by Adrian Prantl
Add accessors. (NFC)

There's a place in swift-lldb where it is useful to create a copy of
an lldb_private::Variable. Adding these two accessors makes this
possible.
The file was modifiedlldb/include/lldb/Symbol/Type.h
The file was modifiedlldb/include/lldb/Symbol/Variable.h
Commit 412cdcf2edf2344632e01d5f71da4bbd9838ab7d by pengfei.wang
[X86] Add HRESET instruction.

For more details about these instructions, please refer to the latest ISE document: https://software.intel.com/en-us/download/intel-architecture-instruction-set-extensions-programming-reference.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D89102
The file was modifiedllvm/test/MC/X86/x86-64.s
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedllvm/test/MC/Disassembler/X86/x86-64.txt
The file was modifiedllvm/lib/Target/X86/X86InstrFormats.td
The file was addedclang/lib/Headers/hresetintrin.h
The file was addedclang/lib/Headers/x86gprintrin.h
The file was modifiedllvm/test/MC/Disassembler/X86/x86-32.txt
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was modifiedclang/lib/Headers/cpuid.h
The file was addedclang/test/CodeGen/x86-hreset-intrin.c
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedclang/lib/Headers/immintrin.h
The file was modifiedclang/test/Driver/x86-target-features.c
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedllvm/include/llvm/Support/X86TargetParser.def
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedclang/test/Preprocessor/x86_target_features.c
The file was modifiedllvm/lib/Support/X86TargetParser.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/test/MC/X86/x86-32-coverage.s
Commit d938e6e3c24aab46b2d1578012acd11c41ff0d5d by llvmgnsyncbot
[gn build] Port 412cdcf2edf
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn