[llvm] r202220 - Formatting fixups.
Eric Christopher
echristo at gmail.com
Tue Feb 25 18:50:56 PST 2014
Author: echristo
Date: Tue Feb 25 20:50:56 2014
New Revision: 202220
URL: http://llvm.org/viewvc/llvm-project?rev=202220&view=rev
Log:
Formatting fixups.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=202220&r1=202219&r2=202220&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Feb 25 20:50:56 2014
@@ -586,7 +586,8 @@ DIE *DwarfDebug::createScopeChildrenDIE(
// If this is a variadic function, add an unspecified parameter.
DISubprogram SP(Scope->getScopeNode());
DIArray FnArgs = SP.getType().getTypeArray();
- if (FnArgs.getElement(FnArgs.getNumElements()-1).isUnspecifiedParameter()) {
+ if (FnArgs.getElement(FnArgs.getNumElements() - 1)
+ .isUnspecifiedParameter()) {
DIE *Ellipsis = new DIE(dwarf::DW_TAG_unspecified_parameters);
Children.push_back(Ellipsis);
}
@@ -759,7 +760,6 @@ DwarfCompileUnit *DwarfDebug::constructD
DIUnit.getLanguage());
NewCU->addString(Die, dwarf::DW_AT_name, FN);
-
if (!useSplitDwarf()) {
NewCU->initStmtList(DwarfLineSectionSym);
More information about the llvm-commits
mailing list