Skip to content

Tracking issue for removing PDB plugin in LLDB #114906

@ZequanWu

Description

@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
  • LLDB failed to lookup method names in NativePDB plugin #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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions