From: David Blaikie Date: Thu, 12 Nov 2015 00:44:35 +0000 (+0000) Subject: dwarfdump: Use the right enum for the tu_index section X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c1ad62ec03fa68c30a4198e177329a392308b349;p=oota-llvm.git dwarfdump: Use the right enum for the tu_index section git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252835 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index 7de712f252d..4352c15f336 100644 --- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -70,7 +70,7 @@ static cl::opt 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)