summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-08-22 00:58:47 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-08-22 00:58:47 +0000
commit9d0b53129cb2532124034eb546a5d508549a337a (patch)
tree2ad58963482e44ba10ef0c333082339d7062a325 /llvm/lib/Object
parent59a20649c6d80c493900ca7874faca3d5e0f61af (diff)
downloadbcm5719-llvm-9d0b53129cb2532124034eb546a5d508549a337a.tar.gz
bcm5719-llvm-9d0b53129cb2532124034eb546a5d508549a337a.zip
Reformat.
llvm-svn: 279409
Diffstat (limited to 'llvm/lib/Object')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index e7507d29d17..43e76a9b404 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -235,7 +235,7 @@ static Error parseSegmentLoadCommand(
if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize ||
S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize)
return malformedError("load command " + Twine(LoadCommandIndex) +
- " inconsistent cmdsize in " + CmdName +
+ " inconsistent cmdsize in " + CmdName +
" for the number of sections");
for (unsigned J = 0; J < S.nsects; ++J) {
const char *Sec = getSectionPtr(Obj, Load, J);
@@ -309,7 +309,7 @@ static Error parseSegmentLoadCommand(
}
if (S.fileoff > FileSize)
return malformedError("load command " + Twine(LoadCommandIndex) +
- " fileoff field in " + CmdName +
+ " fileoff field in " + CmdName +
" extends past the end of the file");
uint64_t BigSize = S.fileoff;
BigSize += S.filesize;
OpenPOWER on IntegriCloud