summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-09-22 11:14:39 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-09-22 11:14:39 +0000
commita9cb538a74b511aa56e4237dbdfca57e8dcc57cc (patch)
tree7178bd55ae00a47c72eb79a8c23241f283095cce /llvm/lib/MC/MachObjectWriter.cpp
parent84965031a75345167c6ec2cf5e5c133869a43b47 (diff)
downloadbcm5719-llvm-a9cb538a74b511aa56e4237dbdfca57e8dcc57cc.tar.gz
bcm5719-llvm-a9cb538a74b511aa56e4237dbdfca57e8dcc57cc.zip
Reformat blank lines.
llvm-svn: 248263
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp
index b9ab6c12a47..2caef094dd5 100644
--- a/llvm/lib/MC/MachObjectWriter.cpp
+++ b/llvm/lib/MC/MachObjectWriter.cpp
@@ -78,7 +78,6 @@ uint64_t MachObjectWriter::getSymbolAddress(const MCSymbol &S,
dyn_cast<const MCConstantExpr>(S.getVariableValue()))
return C->getValue();
-
MCValue Target;
if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr))
report_fatal_error("unable to evaluate offset for variable '" +
@@ -745,7 +744,7 @@ void MachObjectWriter::writeObject(MCAssembler &Asm,
++NumLoadCommands;
LoadCommandsSize += ComputeLinkerOptionsLoadCommandSize(Option, is64Bit());
}
-
+
// Compute the total size of the section data, as well as its file size and vm
// size.
uint64_t SectionDataStart = (is64Bit() ? sizeof(MachO::mach_header_64) :
OpenPOWER on IntegriCloud