llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.26k stars 12.09k forks source link

Tracking issue for removing PDB plugin in LLDB #114906

Open ZequanWu opened 2 weeks ago

ZequanWu commented 2 weeks ago

This is to track the progress of fixing all failed tests when only using native PDB plugin (-DLLVM_ENABLE_DIA_SDK=NO).

Currently, there are 12 failed tests and 1 unexpected passed tests.

Failed Tests (12):
  lldb-shell :: Expr/nodefaultlib.cpp
  lldb-shell :: SymbolFile/DWARF/dwo-static-data-member-access.test
  lldb-shell :: SymbolFile/PDB/class-layout.test
  lldb-shell :: SymbolFile/PDB/enums-layout.test
  lldb-shell :: SymbolFile/PDB/expressions.test
  lldb-shell :: SymbolFile/PDB/func-symbols.test
  lldb-shell :: SymbolFile/PDB/pointers.test
  lldb-shell :: SymbolFile/PDB/type-quals.test
  lldb-shell :: SymbolFile/PDB/typedefs.test
  lldb-shell :: SymbolFile/PDB/udt-layout.test
  lldb-shell :: SymbolFile/PDB/variables.test
  lldb-shell :: Unwind/windows-unaligned-x86_64.test

********************
Unexpectedly Passed Tests (1):
  lldb-shell :: Commands/command-disassemble-mixed.c

Here are the causes for those failed tests:

Once those tests are fixed, we might be able to proceed with removing PDB plugin.

llvmbot commented 2 weeks ago

@llvm/issue-subscribers-lldb

Author: Zequan Wu (ZequanWu)

This is to track the progress of fixing all failed tests when only using native PDB plugin (`-DLLVM_ENABLE_DIA_SDK=NO`). Currently, there are 12 failed tests and 1 unexpected passed tests. ``` Failed Tests (12): lldb-shell :: Expr/nodefaultlib.cpp lldb-shell :: SymbolFile/DWARF/dwo-static-data-member-access.test lldb-shell :: SymbolFile/PDB/class-layout.test lldb-shell :: SymbolFile/PDB/enums-layout.test lldb-shell :: SymbolFile/PDB/expressions.test lldb-shell :: SymbolFile/PDB/func-symbols.test lldb-shell :: SymbolFile/PDB/pointers.test lldb-shell :: SymbolFile/PDB/type-quals.test lldb-shell :: SymbolFile/PDB/typedefs.test lldb-shell :: SymbolFile/PDB/udt-layout.test lldb-shell :: SymbolFile/PDB/variables.test lldb-shell :: Unwind/windows-unaligned-x86_64.test ******************** Unexpectedly Passed Tests (1): lldb-shell :: Commands/command-disassemble-mixed.c ``` Here are the causes for those failed tests: - [ ] No decl information for record types and functions: `class-layout.test`, `enums-layout.test`, `func-symbols.test`, `pointers.test` - [ ] #51933: `expressions.test` - [ ] Some types not showing up in Types under lldb-test: `pointers.test`, `type-quals.test`, `typedefs.test` - [ ] Crash with Assertion failed: D->isCompleteDefinition() && "Cannot layout type before complete!": `udt-layout.test` - [ ] Native PDB doesn't showing block inside function when dumping symbols with lldb-test: `variables.test` - [ ] Other: `windows-unaligned-x86_64.test`, `nodefaultlib.cpp`, `dwo-static-data-member-access.test` Once those tests are fixed, we might be able to proceed with removing PDB plugin.