summaryrefslogtreecommitdiffstats
path: root/lib/DebugInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-07 22:40:48 +0000
committerEric Christopher <echristo@gmail.com>2013-01-07 22:40:48 +0000
commite7285c72793b69f005b5656be9f7aed101cdee4a (patch)
tree5b733b68124d9cc0429a1bb60172b0278b692a6f /lib/DebugInfo
parentff34845f78ec5c20ccd8b5ec715d505eba9f66af (diff)
downloadexternal_llvm-e7285c72793b69f005b5656be9f7aed101cdee4a.zip
external_llvm-e7285c72793b69f005b5656be9f7aed101cdee4a.tar.gz
external_llvm-e7285c72793b69f005b5656be9f7aed101cdee4a.tar.bz2
Whitespace and 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r--lib/DebugInfo/DWARFContext.h4
-rw-r--r--lib/DebugInfo/DWARFFormValue.cpp6
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/DebugInfo/DWARFContext.h b/lib/DebugInfo/DWARFContext.h
index c6d6283..687ff93 100644
--- a/lib/DebugInfo/DWARFContext.h
+++ b/lib/DebugInfo/DWARFContext.h
@@ -163,7 +163,9 @@ public:
return StringOffsetDWOSection;
}
virtual StringRef getRangeDWOSection() { return RangeDWOSection; }
- virtual const RelocAddrMap &infoDWORelocMap() const { return InfoDWORelocMap; }
+ virtual const RelocAddrMap &infoDWORelocMap() const {
+ return InfoDWORelocMap;
+ }
};
}
diff --git a/lib/DebugInfo/DWARFFormValue.cpp b/lib/DebugInfo/DWARFFormValue.cpp
index 47fad8b..14c6804 100644
--- a/lib/DebugInfo/DWARFFormValue.cpp
+++ b/lib/DebugInfo/DWARFFormValue.cpp
@@ -258,7 +258,7 @@ DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data,
// 0 byte values - implied from the form.
case DW_FORM_flag_present:
return true;
-
+
// 1 byte values
case DW_FORM_data1:
case DW_FORM_flag:
@@ -308,7 +308,7 @@ DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data,
else
*offset_ptr += 8;
return true;
-
+
default:
return false;
}
@@ -425,7 +425,7 @@ DWARFFormValue::dump(raw_ostream &OS, const DWARFCompileUnit *cu) const {
else
OS << format("0x%016" PRIx64, uvalue);
break;
-
+
default:
OS << format("DW_FORM(0x%4.4x)", Form);
break;