From c1ad62ec03fa68c30a4198e177329a392308b349 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 12 Nov 2015 00:44:35 +0000 Subject: [PATCH] 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 --- tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1