[llvm] r194400 - Formatting.
Eric Christopher
echristo at gmail.com
Mon Nov 11 10:52:36 PST 2013
Author: echristo
Date: Mon Nov 11 12:52:36 2013
New Revision: 194400
URL: http://llvm.org/viewvc/llvm-project?rev=194400&view=rev
Log:
Formatting.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?rev=194400&r1=194399&r2=194400&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp Mon Nov 11 12:52:36 2013
@@ -275,7 +275,8 @@ void CompileUnit::addDelta(DIE *Die, dwa
/// addDIEEntry - Add a DIE attribute data and value.
///
-void CompileUnit::addDIEEntry(DIE *Die, dwarf::Attribute Attribute, DIE *Entry) {
+void CompileUnit::addDIEEntry(DIE *Die, dwarf::Attribute Attribute,
+ DIE *Entry) {
addDIEEntry(Die, Attribute, createDIEEntry(Entry));
}
@@ -773,8 +774,7 @@ void CompileUnit::addConstantFPValue(DIE
// Output the constant to DWARF one byte at a time.
for (; Start != Stop; Start += Incr)
- addUInt(Block, dwarf::DW_FORM_data1,
- (unsigned char)0xFF & FltPtr[Start]);
+ addUInt(Block, dwarf::DW_FORM_data1, (unsigned char)0xFF & FltPtr[Start]);
addBlock(Die, dwarf::DW_AT_const_value, Block);
}
@@ -1462,8 +1462,8 @@ DIE *CompileUnit::getOrCreateSubprogramD
addUInt(Block, dwarf::DW_FORM_data1, dwarf::DW_OP_constu);
addUInt(Block, dwarf::DW_FORM_udata, SP.getVirtualIndex());
addBlock(SPDie, dwarf::DW_AT_vtable_elem_location, Block);
- ContainingTypeMap.insert(std::make_pair(SPDie,
- resolve(SP.getContainingType())));
+ ContainingTypeMap.insert(
+ std::make_pair(SPDie, resolve(SP.getContainingType())));
}
if (!SP.isDefinition()) {
@@ -1685,7 +1685,8 @@ void CompileUnit::constructSubrangeDIE(D
if (Count != -1 && Count != 0)
// FIXME: An unbounded array should reference the expression that defines
// the array.
- addUInt(DW_Subrange, dwarf::DW_AT_upper_bound, None, LowerBound + Count - 1);
+ addUInt(DW_Subrange, dwarf::DW_AT_upper_bound, None,
+ LowerBound + Count - 1);
}
/// constructArrayTypeDIE - Construct array type DIE from DICompositeType.
@@ -1832,7 +1833,6 @@ void CompileUnit::constructMemberDIE(DIE
DIEBlock *MemLocationDie = new (DIEValueAllocator) DIEBlock();
addUInt(MemLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst);
-
if (DT.getTag() == dwarf::DW_TAG_inheritance && DT.isVirtual()) {
// For C++, virtual base classes are not at fixed offset. Use following
@@ -1877,8 +1877,7 @@ void CompileUnit::constructMemberDIE(DIE
} else
// This is not a bitfield.
OffsetInBytes = DT.getOffsetInBits() >> 3;
- addUInt(MemberDie, dwarf::DW_AT_data_member_location, None,
- OffsetInBytes);
+ addUInt(MemberDie, dwarf::DW_AT_data_member_location, None, OffsetInBytes);
}
if (DT.isProtected())
More information about the llvm-commits
mailing list