[all-commits] [llvm/llvm-project] 96d01a: [lldb] Encode operands and arity in Dwarf.def and ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jun 7 13:48:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96d01a350ce9875a8f893ecdc1d470caf7ed5bcd
      https://github.com/llvm/llvm-project/commit/96d01a350ce9875a8f893ecdc1d470caf7ed5bcd
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    M llvm/include/llvm/BinaryFormat/Dwarf.def
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/BinaryFormat/Dwarf.cpp

  Log Message:
  -----------
  [lldb] Encode operands and arity in Dwarf.def and use them in LLDB. (#94679)

This PR extends Dwarf.def to include the number of operands and the arity (the
number of entries on the DWARF stack).

  - The arity is used in LLDB's DWARF expression evaluator.
  - The number of operands is unused, but is present in the table to avoid
    confusing the arity with the operands. Keeping the latter up to date should
    be straightforward as it maps directly to a table present in the DWARF
    standard.



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