FailedChanges

Summary

  1. [lldb-vscode] support the completion request (details)
  2. [llvm-cov] Fix illegal cast from uint64_t to int64_t (details)
  3. DebugInfo: Use loclistx for DWARFv5 location lists to reduce the number (details)
Commit 2c7c528d7ac17230f1f239b629a02d407a74e1bf by waltermelon
[lldb-vscode] support the completion request
Summary: The DAP has a completion request that has been unimplemented.
It allows showing autocompletion tokens inside the Debug Console. I
implemented it in a very simple fashion mimicking what the user would
see when autocompleting an expression inside the CLI. There are two
cases: normal variables and commands. The latter occurs when a text is
prepepended with ` in the Debug Console. These two cases work well and
have tests.
Reviewers: clayborg, aadsm
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69873
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py (diff)
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/completions/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/completions/TestVSCode_completions.py
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/completions/main.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py (diff)
Commit 97c742e6b74e731afdef74dd5f8366ce883e0520 by sajjadm
[llvm-cov] Fix illegal cast from uint64_t to int64_t
Summary: Counters are stored as uint64_t in the coverage mapping, but
exporting in JSON requires signed integers. Clamp the values to the
smaller range to make the conversion safe.
Reviewers: Dor1s, vsk
Reviewed By: Dor1s
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70200
The file was modifiedllvm/tools/llvm-cov/CoverageExporterJson.cpp (diff)
Commit 77cfcd75092b57693d40123a013e59295634a945 by dblaikie
DebugInfo: Use loclistx for DWARFv5 location lists to reduce the number
of relocations
This only implements the non-dwo part, but loclistx is necessary to use
location lists in DWARFv5, so it's a precursor to that work - and
generally reduces relocations (only using one reloc, then
indexes/relative offsets for all location list references) in non-split
DWARF.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp (diff)
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDie.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DIE.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp (diff)
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll (diff)