summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c6d6283f53..687ff93b07 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 47fad8bcfb..14c68049b3 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;