aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-07-04 01:26:21 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-07-04 01:26:21 +0000
commit940cd9368d0c8bc6833f2bc0fc53568d74ea516f (patch)
tree4148fa467539b1d8d530548e2261c743641ca0bc /llvm/lib/ExecutionEngine
parentf4c6441b014d7109c97695ea9472cf3ad4e96f93 (diff)
downloadllvm-940cd9368d0c8bc6833f2bc0fc53568d74ea516f.zip
llvm-940cd9368d0c8bc6833f2bc0fc53568d74ea516f.tar.gz
llvm-940cd9368d0c8bc6833f2bc0fc53568d74ea516f.tar.bz2
Untabify.
llvm-svn: 274479
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index 664be31..6fc9999 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -479,7 +479,7 @@ Error RuntimeDyldImpl::computeTotalAllocSize(const ObjectFile &Obj,
// If this is the first common symbol, use its alignment as the alignment
// for the common symbols section.
if (CommonSize == 0)
- CommonAlign = Align;
+ CommonAlign = Align;
CommonSize = alignTo(CommonSize, Align) + Size;
}
}
@@ -601,9 +601,8 @@ Error RuntimeDyldImpl::emitCommonSymbols(const ObjectFile &Obj,
// Allocate memory for the section
unsigned SectionID = Sections.size();
- uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign,
- SectionID, "<common symbols>",
- false);
+ uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, SectionID,
+ "<common symbols>", false);
if (!Addr)
report_fatal_error("Unable to allocate memory for common symbols!");
uint64_t Offset = 0;