summaryrefslogtreecommitdiff
path: root/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-08 22:17:40 +0000
committerEric Christopher <echristo@apple.com>2011-09-08 22:17:40 +0000
commitd1e002a0a3c1c38bae064f3f3cc22b1653d47659 (patch)
treeecc97d2c008817b1e26abe237f830d2818ef06d5 /lib/MC/MachObjectWriter.cpp
parentee64be9c176a21a6fd86d2c4eebda571f872d4a2 (diff)
downloadllvm-d1e002a0a3c1c38bae064f3f3cc22b1653d47659.tar.gz
llvm-d1e002a0a3c1c38bae064f3f3cc22b1653d47659.tar.bz2
llvm-d1e002a0a3c1c38bae064f3f3cc22b1653d47659.tar.xz
Formatting and typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MachObjectWriter.cpp')
-rw-r--r--lib/MC/MachObjectWriter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp
index ef0a93d93b..a9219ad29c 100644
--- a/lib/MC/MachObjectWriter.cpp
+++ b/lib/MC/MachObjectWriter.cpp
@@ -594,7 +594,7 @@ IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
// If the fragment with the reference does not have a base symbol but meets
// the simple way of dealing with this, in that it is a temporary symbol in
// the same atom then it is assumed to be fully resolved. This is needed so
- // a relocation entry is not created and so the staitic linker does not
+ // a relocation entry is not created and so the static linker does not
// mess up the reference later.
else if(!FB.getAtom() &&
SA.isTemporary() && SA.isInSection() && &SecA == &SecB){
@@ -627,7 +627,8 @@ IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
return false;
}
-void MachObjectWriter::WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout) {
+void MachObjectWriter::WriteObject(MCAssembler &Asm,
+ const MCAsmLayout &Layout) {
unsigned NumSections = Asm.size();
// The section data starts after the header, the segment load command (and