[llvm] r252782 - Format my previous commit
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 11:30:48 PST 2015
Author: dblaikie
Date: Wed Nov 11 13:30:47 2015
New Revision: 252782
URL: http://llvm.org/viewvc/llvm-project?rev=252782&view=rev
Log:
Format my previous commit
Modified:
llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/trunk/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h?rev=252782&r1=252781&r2=252782&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h Wed Nov 11 13:30:47 2015
@@ -35,7 +35,6 @@ public:
bool parse(DataExtractor IndexData);
void dump(raw_ostream &OS) const;
};
-
}
#endif
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp?rev=252782&r1=252781&r2=252782&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp Wed Nov 11 13:30:47 2015
@@ -158,7 +158,8 @@ void DWARFContext::dump(raw_ostream &OS,
if (DumpType == DIDT_All || DumpType == DIDT_CUIndex) {
OS << "\n.debug_cu_index contents:\n";
- DataExtractor CUIndexData(getCUIndexSection(), isLittleEndian(), savedAddressByteSize);
+ DataExtractor CUIndexData(getCUIndexSection(), isLittleEndian(),
+ savedAddressByteSize);
DWARFUnitIndex CUIndex;
CUIndex.parse(CUIndexData);
CUIndex.dump(OS);
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp?rev=252782&r1=252781&r2=252782&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp Wed Nov 11 13:30:47 2015
@@ -11,7 +11,8 @@
namespace llvm {
-bool DWARFUnitIndex::Header::parse(DataExtractor IndexData, uint32_t *OffsetPtr) {
+bool DWARFUnitIndex::Header::parse(DataExtractor IndexData,
+ uint32_t *OffsetPtr) {
Version = IndexData.getU32(OffsetPtr);
NumColumns = IndexData.getU32(OffsetPtr);
NumUnits = IndexData.getU32(OffsetPtr);
@@ -34,8 +35,5 @@ bool DWARFUnitIndex::parse(DataExtractor
return true;
}
-void DWARFUnitIndex::dump(raw_ostream &OS) const {
- Header.dump(OS);
-}
-
+void DWARFUnitIndex::dump(raw_ostream &OS) const { Header.dump(OS); }
}
Modified: llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp?rev=252782&r1=252781&r2=252782&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp (original)
+++ llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp Wed Nov 11 13:30:47 2015
@@ -39,16 +39,16 @@ static cl::list<std::string>
InputFilenames(cl::Positional, cl::desc("<input object files>"),
cl::ZeroOrMore);
-static cl::opt<DIDumpType>
-DumpType("debug-dump", cl::init(DIDT_All),
- cl::desc("Dump of debug sections:"),
- cl::values(
+static cl::opt<DIDumpType> DumpType(
+ "debug-dump", cl::init(DIDT_All), cl::desc("Dump of debug sections:"),
+ cl::values(
clEnumValN(DIDT_All, "all", "Dump all debug sections"),
clEnumValN(DIDT_Abbrev, "abbrev", ".debug_abbrev"),
clEnumValN(DIDT_AbbrevDwo, "abbrev.dwo", ".debug_abbrev.dwo"),
clEnumValN(DIDT_AppleNames, "apple_names", ".apple_names"),
clEnumValN(DIDT_AppleTypes, "apple_types", ".apple_types"),
- clEnumValN(DIDT_AppleNamespaces, "apple_namespaces", ".apple_namespaces"),
+ clEnumValN(DIDT_AppleNamespaces, "apple_namespaces",
+ ".apple_namespaces"),
clEnumValN(DIDT_AppleObjC, "apple_objc", ".apple_objc"),
clEnumValN(DIDT_Aranges, "aranges", ".debug_aranges"),
clEnumValN(DIDT_Info, "info", ".debug_info"),
@@ -67,9 +67,9 @@ DumpType("debug-dump", cl::init(DIDT_All
clEnumValN(DIDT_GnuPubtypes, "gnu_pubtypes", ".debug_gnu_pubtypes"),
clEnumValN(DIDT_Str, "str", ".debug_str"),
clEnumValN(DIDT_StrDwo, "str.dwo", ".debug_str.dwo"),
- clEnumValN(DIDT_StrOffsetsDwo, "str_offsets.dwo", ".debug_str_offsets.dwo"),
- clEnumValN(DIDT_CUIndex, "cu_index", ".debug_cu_index"),
- clEnumValEnd));
+ clEnumValN(DIDT_StrOffsetsDwo, "str_offsets.dwo",
+ ".debug_str_offsets.dwo"),
+ clEnumValN(DIDT_CUIndex, "cu_index", ".debug_cu_index"), clEnumValEnd));
static void error(StringRef Filename, std::error_code EC) {
if (!EC)
More information about the llvm-commits
mailing list