[PATCH] D37971: [dwarfdump] Add verbose output for .debug-line section

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 06:21:36 PDT 2017


JDevlieghere created this revision.

This patch adds dumping of line table instructions as well as the final
state at each specified pc value in verbose mode. This is essentially
the same as the default in Darwin's dwarfdump. Dumping the actual line
table opcodes can be particularly useful for something like debugging a
bad `.debug_line` section.


Repository:
  rL LLVM

https://reviews.llvm.org/D37971

Files:
  include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugLine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37971.115631.patch
Type: text/x-patch
Size: 9225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170918/8e0fc5a9/attachment.bin>


More information about the llvm-commits mailing list