summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-11-12 00:44:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-11-12 00:44:35 +0000
commitfcc796fe30215ff77b66016e50829dbf6640dc0d (patch)
treee99c550f12f5420960d88490a28d7a764df17958 /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
parent2b2d56f059e75553eac0c1d172ef5b6e4278607f (diff)
downloadbcm5719-llvm-fcc796fe30215ff77b66016e50829dbf6640dc0d.tar.gz
bcm5719-llvm-fcc796fe30215ff77b66016e50829dbf6640dc0d.zip
dwarfdump: Use the right enum for the tu_index section
llvm-svn: 252835
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
-rw-r--r--llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
index 7de712f252d..4352c15f336 100644
--- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -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)
OpenPOWER on IntegriCloud