[PATCH] D76223: [llvm-objdump] Add frame register opcode to variable display
    Oliver Stannard (Linaro) via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 16 05:17:13 PDT 2020
    
    
  
ostannard created this revision.
ostannard added reviewers: jhenderson, echristo, MaskRay.
Herald added subscribers: rupprecht, hiraditya.
Herald added a project: LLVM.
ostannard added a child revision: D76224: [llvm-objdump] Add call_frame_cfa locations to variable display.
The DW_OP_fbreg opcode references an expression stored in the DW_AT_frame_base attribute of the function, so we need to pass that through to the expression printer, and build it in the unit test.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D76223
Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
  llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
  llvm/tools/llvm-objdump/llvm-objdump.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76223.250522.patch
Type: text/x-patch
Size: 7368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200316/d85a01d8/attachment.bin>
    
    
More information about the llvm-commits
mailing list