diff options
author | Amjad Aboud <amjad.aboud@intel.com> | 2015-11-12 09:38:54 +0000 |
---|---|---|
committer | Amjad Aboud <amjad.aboud@intel.com> | 2015-11-12 09:38:54 +0000 |
commit | e59cc3e540ee7b9840f4bdbe334179340feca6da (patch) | |
tree | 9b04b20373ce51ae419b23446f3f133be8d0940f /llvm/lib/Support/Dwarf.cpp | |
parent | c498ba3a3e39eb94b79e3127eeda8aee2fcfbe68 (diff) | |
download | llvm-e59cc3e540ee7b9840f4bdbe334179340feca6da.zip llvm-e59cc3e540ee7b9840f4bdbe334179340feca6da.tar.gz llvm-e59cc3e540ee7b9840f4bdbe334179340feca6da.tar.bz2 |
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
llvm-svn: 252866
Diffstat (limited to 'llvm/lib/Support/Dwarf.cpp')
-rw-r--r-- | llvm/lib/Support/Dwarf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index 5764e45..dd74038 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/lib/Support/Dwarf.cpp @@ -468,6 +468,7 @@ const char *llvm::dwarf::MacinfoString(unsigned Encoding) { case DW_MACINFO_start_file: return "DW_MACINFO_start_file"; case DW_MACINFO_end_file: return "DW_MACINFO_end_file"; case DW_MACINFO_vendor_ext: return "DW_MACINFO_vendor_ext"; + case DW_MACINFO_invalid: return "DW_MACINFO_invalid"; } return nullptr; } |