[PATCH] D79501: [DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 09:40:38 PDT 2020


ikudrin created this revision.
ikudrin added reviewers: probinson, jhenderson, dblaikie, aprantl.
ikudrin added projects: LLVM, debug-info.
Herald added subscribers: cmtice, MaskRay, hiraditya.

`DW_OP_call_ref` is the only operation that has an operand which depends on the DWARF format. The patch fixes handling that operation in DWARF64 units.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79501

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/DWARFLinker/DWARFLinker.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
  llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
  llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
  llvm/test/DebugInfo/X86/DW_OP_call_ref_dwarf64.s
  llvm/tools/llvm-dwarfdump/Statistics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79501.262401.patch
Type: text/x-patch
Size: 12706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200506/f36d3b30/attachment-0001.bin>


More information about the llvm-commits mailing list