dwarfdump: Added macro support to llvm-dwarfdump tool.
authorAmjad Aboud <amjad.aboud@intel.com>
Thu, 12 Nov 2015 09:38:54 +0000 (09:38 +0000)
committerAmjad Aboud <amjad.aboud@intel.com>
Thu, 12 Nov 2015 09:38:54 +0000 (09:38 +0000)
commit65d7d51529323933ff89df088ea20e0c33043b71
treedd8046fb9ffbe7276c50c86ff0c3c1c19f45e10b
parent0b9fa0c2e341a046350914143079f03d60886f84
dwarfdump: Added macro support to llvm-dwarfdump tool.

Added "macro" option to "-debug-dump" flag, which trigger parsing and dumping of the ".debug_macinfo" section.

Differential Revision: http://reviews.llvm.org/D14294

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252866 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/DebugInfo/DIContext.h
include/llvm/DebugInfo/DWARF/DWARFContext.h
include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h [new file with mode: 0644]
include/llvm/Support/Dwarf.h
lib/DebugInfo/DWARF/CMakeLists.txt
lib/DebugInfo/DWARF/DWARFContext.cpp
lib/DebugInfo/DWARF/DWARFDebugMacro.cpp [new file with mode: 0644]
lib/DebugInfo/DWARF/SyntaxHighlighting.cpp
lib/DebugInfo/DWARF/SyntaxHighlighting.h
lib/Support/Dwarf.cpp
test/DebugInfo/Inputs/dwarfdump-macro-cmd.h [new file with mode: 0644]
test/DebugInfo/Inputs/dwarfdump-macro.cc [new file with mode: 0644]
test/DebugInfo/Inputs/dwarfdump-macro.h [new file with mode: 0644]
test/DebugInfo/Inputs/dwarfdump-macro.o [new file with mode: 0644]
test/DebugInfo/debugmacinfo.test [new file with mode: 0644]
tools/llvm-dwarfdump/llvm-dwarfdump.cpp