aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-01-17 22:11:27 +0000
committerRui Ueyama <ruiu@google.com>2014-01-17 22:11:27 +0000
commit24fc2d641fcd68b06a5be6cddef9b7b3c25ead8a (patch)
tree77f6729fa6b5424fd8f5b2030c3d482548b6375b /llvm/lib/Object/COFFObjectFile.cpp
parente5df6095b1d382374f6958835f0a3c89ceae8767 (diff)
downloadllvm-24fc2d641fcd68b06a5be6cddef9b7b3c25ead8a.zip
llvm-24fc2d641fcd68b06a5be6cddef9b7b3c25ead8a.tar.gz
llvm-24fc2d641fcd68b06a5be6cddef9b7b3c25ead8a.tar.bz2
80-column.
llvm-svn: 199519
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r--llvm/lib/Object/COFFObjectFile.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp
index fca2184..ec8989d 100644
--- a/llvm/lib/Object/COFFObjectFile.cpp
+++ b/llvm/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<const export_directory_table_entry *>(IntPtr);
+ ExportDirectory =
+ reinterpret_cast<const export_directory_table_entry *>(IntPtr);
return object_error::success;
}
@@ -733,7 +734,8 @@ ArrayRef<uint8_t> COFFObjectFile::getSymbolAuxData(
== 0 && "Aux Symbol data did not point to the beginning of a symbol");
# endif
}
- return ArrayRef<uint8_t>(Aux, Symbol->NumberOfAuxSymbols * sizeof(coff_symbol));
+ return ArrayRef<uint8_t>(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<const export_address_table_entry *>(IntPtr);
+ const export_address_table_entry *entry =
+ reinterpret_cast<const export_address_table_entry *>(IntPtr);
Result = entry[Index].ExportRVA;
return object_error::success;
}