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

Jim Grosbach grosbach at apple.com
Thu Nov 11 12:16:23 PST 2010


Author: grosbach
Date: Thu Nov 11 14:16:23 2010
New Revision: 118831

URL: http://llvm.org/viewvc/llvm-project?rev=118831&view=rev
Log:
Trailing whitespace.

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=118831&r1=118830&r2=118831&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MachObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/MachObjectWriter.cpp Thu Nov 11 14:16:23 2010
@@ -633,7 +633,7 @@
       if (A_Base == B_Base && A_Base)
         report_fatal_error("unsupported relocation with identical base");
 
-      Value += Layout.getSymbolAddress(&A_SD) - 
+      Value += Layout.getSymbolAddress(&A_SD) -
                (A_Base == NULL ? 0 : Layout.getSymbolAddress(A_Base));
       Value -= Layout.getSymbolAddress(&B_SD) -
                (B_Base == NULL ? 0 : Layout.getSymbolAddress(B_Base));
@@ -875,7 +875,7 @@
     } else {
       FixedValue = 0;
     }
-    
+
     // struct relocation_info (8 bytes)
     MachRelocationEntry MRE;
     MRE.Word0 = Value;
@@ -886,7 +886,7 @@
                  (RIT_TLV   << 28)); // Type
     Relocations[Fragment->getParent()].push_back(MRE);
   }
-  
+
   void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
                         const MCFragment *Fragment, const MCFixup &Fixup,
                         MCValue Target, uint64_t &FixedValue) {
@@ -904,7 +904,7 @@
       RecordTLVPRelocation(Asm, Layout, Fragment, Fixup, Target, FixedValue);
       return;
     }
-    
+
     // If this is a difference or a defined symbol plus an offset, then we need
     // a scattered relocation entry.
     // Differences always require scattered relocations.
@@ -988,7 +988,7 @@
       // Initialize the section indirect symbol base, if necessary.
       if (!IndirectSymBase.count(it->SectionData))
         IndirectSymBase[it->SectionData] = IndirectIndex;
-      
+
       Asm.getOrCreateSymbolData(*it->Symbol);
     }
 





More information about the llvm-commits mailing list