summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2015-11-12 09:38:54 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2015-11-12 09:38:54 +0000
commite59cc3e540ee7b9840f4bdbe334179340feca6da (patch)
tree9b04b20373ce51ae419b23446f3f133be8d0940f /llvm/lib/Support
parentc498ba3a3e39eb94b79e3127eeda8aee2fcfbe68 (diff)
downloadbcm5719-llvm-e59cc3e540ee7b9840f4bdbe334179340feca6da.tar.gz
bcm5719-llvm-e59cc3e540ee7b9840f4bdbe334179340feca6da.zip
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')
-rw-r--r--llvm/lib/Support/Dwarf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp
index 5764e458f2b..dd740384de3 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;
}
OpenPOWER on IntegriCloud