dwarfdump: add command line support for dumping the tu_index section
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 12 Nov 2015 00:42:49 +0000 (00:42 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 12 Nov 2015 00:42:49 +0000 (00:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252830 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-dwarfdump/llvm-dwarfdump.cpp

index 8bf9225d6df59f038a69baa66d97da7985d6f4d1..7de712f252ddf50d495b9869b9f3e7df3c408d4a 100644 (file)
@@ -69,7 +69,8 @@ static cl::opt<DIDumpType> DumpType(
         clEnumValN(DIDT_StrDwo, "str.dwo", ".debug_str.dwo"),
         clEnumValN(DIDT_StrOffsetsDwo, "str_offsets.dwo",
                    ".debug_str_offsets.dwo"),
-        clEnumValN(DIDT_CUIndex, "cu_index", ".debug_cu_index"), clEnumValEnd));
+        clEnumValN(DIDT_CUIndex, "cu_index", ".debug_cu_index"),
+        clEnumValN(DIDT_CUIndex, "tu_index", ".debug_tu_index"), clEnumValEnd));
 
 static void error(StringRef Filename, std::error_code EC) {
   if (!EC)