[llvm] r252835 - dwarfdump: Use the right enum for the tu_index section

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 16:44:35 PST 2015


Author: dblaikie
Date: Wed Nov 11 18:44:35 2015
New Revision: 252835

URL: http://llvm.org/viewvc/llvm-project?rev=252835&view=rev
Log:
dwarfdump: Use the right enum for the tu_index section

Modified:
    llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

Modified: llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp?rev=252835&r1=252834&r2=252835&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp (original)
+++ llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp Wed Nov 11 18:44:35 2015
@@ -70,7 +70,7 @@ static cl::opt<DIDumpType> DumpType(
         clEnumValN(DIDT_StrOffsetsDwo, "str_offsets.dwo",
                    ".debug_str_offsets.dwo"),
         clEnumValN(DIDT_CUIndex, "cu_index", ".debug_cu_index"),
-        clEnumValN(DIDT_CUIndex, "tu_index", ".debug_tu_index"), clEnumValEnd));
+        clEnumValN(DIDT_TUIndex, "tu_index", ".debug_tu_index"), clEnumValEnd));
 
 static void error(StringRef Filename, std::error_code EC) {
   if (!EC)




More information about the llvm-commits mailing list