X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FObject%2FCOFFObjectFile.cpp;h=ec8989d5c67cb07ffc35abdad0b8e36be568ebdd;hb=daa4c91647ae5abfc55bd1425ecf146680ca7bd1;hp=fca21843b2a38b6c066070817b5b32f14e27fe3d;hpb=9106d365f5577c579c383766405e2aa9b9e9ae38;p=oota-llvm.git diff --git a/lib/Object/COFFObjectFile.cpp b/lib/Object/COFFObjectFile.cpp index fca21843b2a..ec8989d5c67 100644 --- a/lib/Object/COFFObjectFile.cpp +++ b/lib/Object/COFFObjectFile.cpp @@ -458,7 +458,8 @@ error_code COFFObjectFile::initExportTablePtr() { uintptr_t IntPtr = 0; if (error_code EC = getRvaPtr(ExportTableRva, IntPtr)) return EC; - ExportDirectory = reinterpret_cast(IntPtr); + ExportDirectory = + reinterpret_cast(IntPtr); return object_error::success; } @@ -733,7 +734,8 @@ ArrayRef COFFObjectFile::getSymbolAuxData( == 0 && "Aux Symbol data did not point to the beginning of a symbol"); # endif } - return ArrayRef(Aux, Symbol->NumberOfAuxSymbols * sizeof(coff_symbol)); + return ArrayRef(Aux, + Symbol->NumberOfAuxSymbols * sizeof(coff_symbol)); } error_code COFFObjectFile::getSectionName(const coff_section *Sec, @@ -977,7 +979,8 @@ error_code ExportDirectoryEntryRef::getExportRVA(uint32_t &Result) const { if (error_code EC = OwningObject->getRvaPtr( ExportTable->ExportAddressTableRVA, IntPtr)) return EC; - const export_address_table_entry *entry = reinterpret_cast(IntPtr); + const export_address_table_entry *entry = + reinterpret_cast(IntPtr); Result = entry[Index].ExportRVA; return object_error::success; }