[llvm-commits] [llvm] r139325 - /llvm/trunk/lib/MC/MachObjectWriter.cpp

Eric Christopher echristo at apple.com
Thu Sep 8 15:17:40 PDT 2011


Author: echristo
Date: Thu Sep  8 17:17:40 2011
New Revision: 139325

URL: http://llvm.org/viewvc/llvm-project?rev=139325&view=rev
Log:
Formatting and typo.

Modified:
    llvm/trunk/lib/MC/MachObjectWriter.cpp

Modified: llvm/trunk/lib/MC/MachObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MachObjectWriter.cpp?rev=139325&r1=139324&r2=139325&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MachObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/MachObjectWriter.cpp Thu Sep  8 17:17:40 2011
@@ -594,7 +594,7 @@
     // 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 @@
   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





More information about the llvm-commits mailing list