[Lldb-commits] [PATCH] D80519: [lldb/DWARF] Add support for pre-standard GNU call site attributes

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 25 07:29:10 PDT 2020


labath created this revision.
labath added reviewers: vsk, dblaikie.
Herald added a project: LLDB.

The code changes are very straight-forward -- just handle both DW_AT_GNU
and DW_AT_call versions of all tags and attributes. There is just one
small gotcha: in the GNU version, DW_AT_low_pc was used both for the
"return pc" and the "call pc" values, depending on whether the tag was
describing a tail call, while the official scheme uses different
attributes for the two things.

Depends on D80518 <https://reviews.llvm.org/D80518>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80519

Files:
  lldb/source/Expression/DWARFExpression.cpp
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/test/API/functionalities/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
  lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80519.266018.patch
Type: text/x-patch
Size: 6366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200525/8ede4815/attachment-0001.bin>


More information about the lldb-commits mailing list