[all-commits] [llvm/llvm-project] 0cfcd3: [lldb][NativePDB] Parse global variables. (#114303)

Zequan Wu via All-commits all-commits at lists.llvm.org
Fri Nov 1 11:16:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cfcd387f968f2c9de0648673b5db9e221e5c84e
      https://github.com/llvm/llvm-project/commit/0cfcd387f968f2c9de0648673b5db9e221e5c84e
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
    M lldb/test/Shell/SymbolFile/NativePDB/ast-methods.cpp
    M lldb/test/Shell/SymbolFile/NativePDB/global-ctor-dtor.cpp
    M lldb/test/Shell/SymbolFile/PDB/ast-restore.test

  Log Message:
  -----------
  [lldb][NativePDB] Parse global variables. (#114303)

This doesn't parse S_CONSTANT case yet, because I found that the global
variable `std::strong_ordering::equal` is a S_CONSTANT and has type of
LF_STRUCTURE which is not currently handled when creating dwarf
expression for the variable. Left a TODO for it to finish later.

This makes `lldb/test/Shell/SymbolFile/PDB/ast-restore.test` and
`lldb/test/Shell/SymbolFile/PDB/calling-conventions-x86.test` pass on
windows with native pdb plugin only.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list