llvm-dwarfdump: Add support for dumping the .debug_loc section
[oota-llvm.git] / tools / llvm-dwarfdump / llvm-dwarfdump.cpp
index 80948560ca9a576f116c052180e559d3c6c5aead..eef6f797cc36dfee8353bef13a37455a133053cb 100644 (file)
@@ -63,6 +63,7 @@ DumpType("debug-dump", cl::init(DIDT_All),
         clEnumValN(DIDT_Info, "info", ".debug_info"),
         clEnumValN(DIDT_InfoDwo, "info.dwo", ".debug_info.dwo"),
         clEnumValN(DIDT_Line, "line", ".debug_line"),
+        clEnumValN(DIDT_Loc, "loc", ".debug_loc"),
         clEnumValN(DIDT_Frames, "frames", ".debug_frame"),
         clEnumValN(DIDT_Ranges, "ranges", ".debug_ranges"),
         clEnumValN(DIDT_Pubnames, "pubnames", ".debug_pubnames"),