[Lldb-commits] [PATCH] D76337: [lldb/DWARF] Use DW_AT_call_pc to determine artificial frame address

Vedant Kumar via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 17 18:23:43 PDT 2020


vsk created this revision.
vsk added reviewers: aprantl, jasonmolenda, friss.

lldb currently guesses the address to use when creating an artificial
frame (i.e., a frame constructed by determining the sequence of (tail)
calls which must have happened).

Guessing the address creates problems -- use the actual address provided
by the DW_AT_call_pc attribute instead.

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

rdar://60307600


https://reviews.llvm.org/D76337

Files:
  lldb/include/lldb/Symbol/Function.h
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/source/Symbol/Function.cpp
  lldb/source/Target/StackFrameList.cpp
  lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76337.250955.patch
Type: text/x-patch
Size: 14212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200318/9d7a8626/attachment-0001.bin>


More information about the lldb-commits mailing list