Fix build breakage from r329201
Some compilers do not like having an enum type and a variable with the
same name (AccelTableKind). I rename the variable to TheAccelTableKind.
Suggestions for a better name welcome.
llvm-svn: 329202
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 76a360d..e4adaa1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -306,11 +306,11 @@
// supported.
if (AccelTables == AccelTableKind::Default) {
if (tuneForLLDB() && A->TM.getTargetTriple().isOSBinFormatMachO())
- AccelTableKind = AccelTableKind::Apple;
+ TheAccelTableKind = AccelTableKind::Apple;
else
- AccelTableKind = AccelTableKind::None;
+ TheAccelTableKind = AccelTableKind::None;
} else
- AccelTableKind = AccelTables;
+ TheAccelTableKind = AccelTables;
UseInlineStrings = DwarfInlinedStrings == Enable;
HasAppleExtensionAttributes = tuneForLLDB();