summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-23 23:26:57 +0000
committerEric Christopher <echristo@apple.com>2012-08-23 23:26:57 +0000
commit20b897b693217be6a3dcf2b80298a9d54b837c07 (patch)
tree97acb51f25aeb5ed9fd34715b17f90dd9ade7b72 /llvm/lib/DebugInfo
parent9142ea7bec7c1bcb6f9c92dc9477b800a27f35cf (diff)
downloadbcm5719-llvm-20b897b693217be6a3dcf2b80298a9d54b837c07.tar.gz
bcm5719-llvm-20b897b693217be6a3dcf2b80298a9d54b837c07.zip
Formatting cleanup.
llvm-svn: 162499
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARFCompileUnit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.cpp b/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
index 98dccac00a6..d32fd6dd7e2 100644
--- a/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
+++ b/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
@@ -63,7 +63,7 @@ DWARFCompileUnit::extract(uint32_t offset, DataExtractor debug_info_data,
Version = debug_info_data.getU16(&offset);
bool abbrevsOK = debug_info_data.getU32(&offset) == abbrevs->getOffset();
Abbrevs = abbrevs;
- AddrSize = debug_info_data.getU8 (&offset);
+ AddrSize = debug_info_data.getU8(&offset);
bool versionOK = DWARFContext::isSupportedVersion(Version);
bool addrSizeOK = AddrSize == 4 || AddrSize == 8;
@@ -176,11 +176,11 @@ size_t DWARFCompileUnit::extractDIEsIfNeeded(bool cu_die_only) {
addDIE(die);
return 1;
}
- else if (depth == 0 && initial_die_array_size == 1) {
+ else if (depth == 0 && initial_die_array_size == 1)
// Don't append the CU die as we already did that
- } else {
- addDIE (die);
- }
+ ;
+ else
+ addDIE(die);
const DWARFAbbreviationDeclaration *abbrDecl =
die.getAbbreviationDeclarationPtr();
@@ -202,8 +202,8 @@ size_t DWARFCompileUnit::extractDIEsIfNeeded(bool cu_die_only) {
// should always terminate at or before the start of the next compilation
// unit header).
if (offset > next_cu_offset)
- fprintf (stderr, "warning: DWARF compile unit extends beyond its"
- "bounds cu 0x%8.8x at 0x%8.8x'\n", getOffset(), offset);
+ fprintf(stderr, "warning: DWARF compile unit extends beyond its"
+ "bounds cu 0x%8.8x at 0x%8.8x'\n", getOffset(), offset);
setDIERelations();
return DieArray.size();
OpenPOWER on IntegriCloud