Remove trailing whitespace characters.
authorRui Ueyama <ruiu@google.com>
Mon, 27 Apr 2015 17:18:04 +0000 (17:18 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 27 Apr 2015 17:18:04 +0000 (17:18 +0000)
llvm-svn: 235897

54 files changed:
lld/test/Driver/def-lib-search.test
lld/test/elf/AArch64/rel-adr_prel_lo21-overflow.test
lld/test/elf/ARM/rel-group-relocs.test
lld/test/elf/ARM/rel-v4bx.test
lld/test/elf/ARM/weak-branch.test
lld/test/elf/Inputs/consecutive-weak-defs.o.yaml
lld/test/elf/Inputs/main-with-global-def.o.yaml
lld/test/elf/Mips/rel-eh-01.test
lld/test/elf/Mips/rel-eh-03.test
lld/test/elf/linkerscript/Inputs/prog1.o.yaml
lld/test/elf/linkerscript/Inputs/prog2.o.yaml
lld/test/elf/linkerscript/Inputs/prog3.o.yaml
lld/test/elf/linkerscript/Inputs/simple.o.yaml
lld/test/mach-o/Inputs/arm-interworking.yaml
lld/test/mach-o/Inputs/got-order.yaml
lld/test/mach-o/arm-interworking-movw.yaml
lld/test/mach-o/arm-interworking.yaml
lld/test/mach-o/arm-subsections-via-symbols.yaml
lld/test/mach-o/data-only-dylib.yaml
lld/test/mach-o/demangle.yaml
lld/test/mach-o/exported_symbols_list-dylib.yaml
lld/test/mach-o/exported_symbols_list-obj.yaml
lld/test/mach-o/exported_symbols_list-undef.yaml
lld/test/mach-o/fat-archive.yaml
lld/test/mach-o/force_load-dylib.yaml
lld/test/mach-o/force_load-x86_64.yaml
lld/test/mach-o/framework-user-paths.yaml
lld/test/mach-o/got-order.yaml
lld/test/mach-o/hello-world-armv7.yaml
lld/test/mach-o/hello-world-x86.yaml
lld/test/mach-o/hello-world-x86_64.yaml
lld/test/mach-o/infer-arch.yaml
lld/test/mach-o/interposing-section.yaml
lld/test/mach-o/keep_private_externs.yaml
lld/test/mach-o/library-order.yaml
lld/test/mach-o/library-rescan.yaml
lld/test/mach-o/objc_export_list.yaml
lld/test/mach-o/parse-aliases.yaml
lld/test/mach-o/parse-arm-relocs.yaml
lld/test/mach-o/parse-cfstring64.yaml
lld/test/mach-o/parse-data-in-code-armv7.yaml
lld/test/mach-o/parse-data-relocs-x86_64.yaml
lld/test/mach-o/parse-eh-frame-x86-anon.yaml
lld/test/mach-o/parse-eh-frame-x86-labeled.yaml
lld/test/mach-o/parse-function.yaml
lld/test/mach-o/parse-initializers64.yaml
lld/test/mach-o/parse-literals-error.yaml
lld/test/mach-o/parse-literals.yaml
lld/test/mach-o/parse-relocs-x86.yaml
lld/test/mach-o/sectalign.yaml
lld/test/mach-o/unwind-info-simple-arm64.yaml
lld/test/mach-o/unwind-info-simple-x86_64.yaml
lld/test/mach-o/upward-dylib-load-command.yaml
lld/test/pecoff/Inputs/armnt-branch24t.obj.yaml

index 818cbfe6ad6118bffb66409cd3f3ef87be43389e..abd4d0204b005e74e7cab845a3f6003cf791d8ca 100644 (file)
@@ -1,5 +1,5 @@
 # Check that search paths explicitly provided by the -L option
-# are used in search before default paths. 
+# are used in search before default paths.
 
 RUN: not lld -flavor gnu -target x86_64 -t -ltest \
 RUN:         --sysroot=%p/Inputs -L%p/Inputs 2> %t
index 35a1a9f883e688afe7634655eeb36aea8ac4936c..6e8ad6f4708eb17e7a3ca4ec063afe411a345810 100644 (file)
@@ -2,7 +2,7 @@
 # RUN: yaml2obj -format=elf %s > %t-obj
 # RUN: not lld -flavor gnu -target arm64 -o %t-exe %t-obj
 
-# CHECK: Relocation out of range in file {{.*}}: reference from _start+0 to data1+1048577 of type 274 (R_AARCH64_ADR_PREL_LO21) 
+# CHECK: Relocation out of range in file {{.*}}: reference from _start+0 to data1+1048577 of type 274 (R_AARCH64_ADR_PREL_LO21)
 
 !ELF
 FileHeader: !FileHeader
index 6c16b706e665f43aa4600b30c627e4cb5e734d8f..c54d7412ab30b45526fc48a82d92b3da2f50c968 100644 (file)
@@ -1,6 +1,6 @@
 # Check handling of group relocations (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G1_NC,
 # R_ARM_LDR_PC_G2).
-# 
+#
 # RUN: yaml2obj -format=elf %s > %t-o.o
 # RUN: lld -flavor gnu -target arm -m armelf_linux_eabi -Bstatic \
 # RUN: -e plt_func %t-o.o -o %t
 # CHECK: 00401000 g       .data        00000004 got_func
 
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS32
   Data:            ELFDATA2LSB
   Type:            ET_REL
   Machine:         EM_ARM
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -41,7 +41,7 @@ Sections:
     Link:            .symtab
     Info:            .text
     AddressAlign:    0x4
-    Relocations:     
+    Relocations:
       - Offset:          0
         Symbol:          got_func
         Type:            R_ARM_ALU_PC_G0_NC
@@ -58,9 +58,9 @@ Sections:
     Flags:           [ SHF_WRITE, SHF_ALLOC ]
     AddressAlign:    0x4
     Content:         74004000
-Symbols:         
-  Local:           
-  Global:          
+Symbols:
+  Local:
+  Global:
     - Name:            plt_func
       Type:            STT_FUNC
       Section:         .text
index 348a6bdcd90f56b230c4650bb540509b863a01a8..d0dd493191e0e1a7582ad660c224827dc2a5f5c5 100644 (file)
 # The following instruction creates a RM_ARM_V4BX relocation that
 # allows the linker to replace the bx instruction to a ARMv4
 # compatible one.  Currently lld does not change it.
-# CHECK:   400114:       1e ff 2f 01     bxeq    lr 
+# CHECK:   400114:       1e ff 2f 01     bxeq    lr
 
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS32
   Data:            ELFDATA2LSB
   Type:            ET_REL
   Machine:         EM_ARM
   Flags:           [ EF_ARM_EABI_VER5 ]
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -32,7 +32,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000004
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000000
         Symbol:          ''
         Type:            R_ARM_V4BX
@@ -50,8 +50,8 @@ Sections:
     Type:            SHT_ARM_ATTRIBUTES
     AddressAlign:    0x0000000000000001
     Content:         4115000000616561626900010B000000060208010901
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -66,7 +66,7 @@ Symbols:
     - Name:            .ARM.attributes
       Type:            STT_SECTION
       Section:         .ARM.attributes
-  Global:          
+  Global:
     - Name:            main
       Type:            STT_FUNC
       Section:         .text
index 6349d92bc24abfe25a0323f41c345cc7706d0674..2f86fd5e181effb2791ec48f9e5a9c1bb81f35db 100644 (file)
 
 # jump11.o
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS32
   Data:            ELFDATA2LSB
   Type:            ET_REL
   Machine:         EM_ARM
   Flags:           [ EF_ARM_EABI_VER5 ]
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -66,7 +66,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000004
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x000000000000012A
         Symbol:          __gnu_h2f_internal
         Type:            R_ARM_THM_JUMP11
@@ -83,8 +83,8 @@ Sections:
     Flags:           [ SHF_WRITE, SHF_ALLOC ]
     AddressAlign:    0x0000000000000001
     Content:         ''
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -101,7 +101,7 @@ Symbols:
       Section:         .text
       Value:           0x0000000000000001
       Size:            0x00000000000000C2
-  Global:          
+  Global:
     - Name:            __gnu_f2h_ieee
       Type:            STT_FUNC
       Section:         .text
@@ -130,13 +130,13 @@ Symbols:
     - Name:            __gnu_h2f_internal
 # thm-call.o
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS32
   Data:            ELFDATA2LSB
   Type:            ET_REL
   Machine:         EM_ARM
   Flags:           [ EF_ARM_EABI_VER5 ]
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -147,21 +147,21 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000004
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000014
         Symbol:          my_fn
         Type:            R_ARM_THM_CALL
       - Offset:          0x0000000000000018
         Symbol:          weak_fn
         Type:            R_ARM_THM_CALL
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
     - Name:            '$t'
       Section:         .text
-  Global:          
+  Global:
     - Name:            my_fn
       Type:            STT_FUNC
       Section:         .text
@@ -172,17 +172,17 @@ Symbols:
       Section:         .text
       Value:           0x0000000000000011
       Size:            0x0000000000000012
-  Weak:            
+  Weak:
     - Name:            weak_fn
 # arm-call.o
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS32
   Data:            ELFDATA2LSB
   Type:            ET_REL
   Machine:         EM_ARM
   Flags:           [ EF_ARM_EABI_VER5 ]
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -193,21 +193,21 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000004
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000024
         Symbol:          my_fn
         Type:            R_ARM_CALL
       - Offset:          0x0000000000000028
         Symbol:          weak_fn
         Type:            R_ARM_CALL
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
     - Name:            '$a'
       Section:         .text
-  Global:          
+  Global:
     - Name:            my_fn
       Type:            STT_FUNC
       Section:         .text
@@ -217,6 +217,6 @@ Symbols:
       Section:         .text
       Value:           0x000000000000001C
       Size:            0x000000000000001C
-  Weak:            
+  Weak:
     - Name:            weak_fn
 ...
index 144c2426bae1b07064c10ba32c31b124acab4e5e..e668dbe568894d2a8c4dbe8215231bfa3c550dbf 100644 (file)
@@ -1,11 +1,11 @@
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS64
   Data:            ELFDATA2LSB
   OSABI:           ELFOSABI_GNU
   Type:            ET_REL
   Machine:         EM_X86_64
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -16,7 +16,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000005
         Symbol:          my_weak_func
         Type:            R_X86_64_PC32
@@ -31,8 +31,8 @@ Sections:
     Flags:           [ SHF_WRITE, SHF_ALLOC ]
     AddressAlign:    0x0000000000000004
     Content:         ''
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -42,12 +42,12 @@ Symbols:
     - Name:            .bss
       Type:            STT_SECTION
       Section:         .bss
-  Global:          
+  Global:
     - Name:            my_func
       Type:            STT_FUNC
       Section:         .text
       Size:            0x000000000000000B
-  Weak:            
+  Weak:
     - Name:            my_weak_func
       Type:            STT_FUNC
       Section:         .text
index 55029614e1e8916098d1ae79349e7fa52b781adb..cfa27ab223e7d8851e78c0ae31a104d07a974f13 100644 (file)
@@ -1,11 +1,11 @@
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS64
   Data:            ELFDATA2LSB
   OSABI:           ELFOSABI_GNU
   Type:            ET_REL
   Machine:         EM_X86_64
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -16,7 +16,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x000000000000001D
         Symbol:          my_func
         Type:            R_X86_64_PC32
@@ -31,8 +31,8 @@ Sections:
     Flags:           [ SHF_WRITE, SHF_ALLOC ]
     AddressAlign:    0x0000000000000004
     Content:         ''
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -42,7 +42,7 @@ Symbols:
     - Name:            .bss
       Type:            STT_SECTION
       Section:         .bss
-  Global:          
+  Global:
     - Name:            main
       Type:            STT_FUNC
       Section:         .text
index 55a0813458ec749c53bac10d3e58d9848379a0cb..ce76158f5753c21c9be84dc870b78d50686173f2 100644 (file)
@@ -49,7 +49,7 @@
 
 # so.o
 ---
-FileHeader:      
+FileHeader:
   Class:   ELFCLASS32
   Data:    ELFDATA2LSB
   Type:    ET_REL
@@ -57,15 +57,15 @@ FileHeader:
   Flags:   [EF_MIPS_NOREORDER, EF_MIPS_CPIC, EF_MIPS_PIC,
             EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2]
 
-Sections:        
+Sections:
   - Name:          .text
     Type:          SHT_PROGBITS
     Flags:         [SHF_ALLOC, SHF_EXECINSTR]
     AddressAlign:  16
     Size:          4
 
-Symbols:         
-  Global:          
+Symbols:
+  Global:
     - Name:    E1
       Type:    STT_FUNC
       Section: .text
@@ -74,7 +74,7 @@ Symbols:
 
 # t1.o
 ---
-FileHeader:      
+FileHeader:
   Class:   ELFCLASS32
   Data:    ELFDATA2LSB
   Type:    ET_REL
@@ -82,15 +82,15 @@ FileHeader:
   Flags:   [EF_MIPS_NOREORDER, EF_MIPS_CPIC, EF_MIPS_PIC,
             EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2]
 
-Sections:        
+Sections:
   - Name:          .text
     Type:          SHT_PROGBITS
     Flags:         [SHF_ALLOC, SHF_EXECINSTR]
     AddressAlign:  16
     Size:          4
 
-Symbols:         
-  Global:          
+Symbols:
+  Global:
     - Name:    T1
       Type:    STT_FUNC
       Section: .text
@@ -99,7 +99,7 @@ Symbols:
 
 # t2.o
 ---
-FileHeader:      
+FileHeader:
   Class:   ELFCLASS32
   Data:    ELFDATA2LSB
   Type:    ET_REL
@@ -107,7 +107,7 @@ FileHeader:
   Flags:   [EF_MIPS_NOREORDER, EF_MIPS_CPIC, EF_MIPS_PIC,
             EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2]
 
-Sections:        
+Sections:
   - Name:          .text
     Type:          SHT_PROGBITS
     Flags:         [SHF_ALLOC, SHF_EXECINSTR]
@@ -131,7 +131,7 @@ Sections:
     Link:          .symtab
     AddressAlign:  4
     Info:          .gnu_extab
-    Relocations:     
+    Relocations:
       - Offset:  1
         Symbol:  T1
         Type:    R_MIPS_EH
@@ -153,7 +153,7 @@ Sections:
     Link:          .symtab
     AddressAlign:  4
     Info:          .eh_frame_entry
-    Relocations:     
+    Relocations:
       - Offset:  0
         Symbol:  .text
         Type:    R_MIPS_PC32
@@ -161,8 +161,8 @@ Sections:
         Symbol:  .gnu_extab
         Type:    R_MIPS_PC32
 
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:    .text
       Type:    STT_SECTION
       Section: .text
@@ -175,7 +175,7 @@ Symbols:
       Value:   0
       Size:    4
 
-  Global:          
+  Global:
     - Name:    T0
       Type:    STT_FUNC
       Section: .text
index 019cc7924f4692d0a6f1957d782ef9933393ef70..a89271850610087ca095a27ea577cab761bb79c1 100644 (file)
@@ -20,7 +20,7 @@
 
 # t1.o
 ---
-FileHeader:      
+FileHeader:
   Class:   ELFCLASS32
   Data:    ELFDATA2LSB
   Type:    ET_REL
@@ -28,15 +28,15 @@ FileHeader:
   Flags:   [EF_MIPS_NOREORDER, EF_MIPS_CPIC, EF_MIPS_PIC,
             EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2]
 
-Sections:        
+Sections:
   - Name:          .text
     Type:          SHT_PROGBITS
     Flags:         [SHF_ALLOC, SHF_EXECINSTR]
     AddressAlign:  16
     Size:          4
 
-Symbols:         
-  Global:          
+Symbols:
+  Global:
     - Name:    T1
       Type:    STT_FUNC
       Section: .text
@@ -45,7 +45,7 @@ Symbols:
 
 # t2.o
 ---
-FileHeader:      
+FileHeader:
   Class:   ELFCLASS32
   Data:    ELFDATA2LSB
   Type:    ET_REL
@@ -53,7 +53,7 @@ FileHeader:
   Flags:   [EF_MIPS_NOREORDER, EF_MIPS_CPIC, EF_MIPS_PIC,
             EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2]
 
-Sections:        
+Sections:
   - Name:          .text
     Type:          SHT_PROGBITS
     Flags:         [SHF_ALLOC, SHF_EXECINSTR]
@@ -77,7 +77,7 @@ Sections:
     Link:          .symtab
     AddressAlign:  4
     Info:          .gnu_extab
-    Relocations:     
+    Relocations:
       - Offset:  1
         Symbol:  T1
         Type:    R_MIPS_EH
@@ -96,7 +96,7 @@ Sections:
     Link:          .symtab
     AddressAlign:  4
     Info:          .eh_frame_entry
-    Relocations:     
+    Relocations:
       - Offset:  0
         Symbol:  .text
         Type:    R_MIPS_PC32
@@ -104,8 +104,8 @@ Sections:
         Symbol:  .gnu_extab
         Type:    R_MIPS_PC32
 
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:    .text
       Type:    STT_SECTION
       Section: .text
@@ -118,7 +118,7 @@ Symbols:
       Value:   0
       Size:    4
 
-  Global:          
+  Global:
     - Name:    T0
       Type:    STT_FUNC
       Section: .text
index ded590e395d439b185b16acfa5b5abb61e6cef08..9651abff1d1f53ab87f913a7727415dd12f25726 100644 (file)
@@ -1,11 +1,11 @@
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS64
   Data:            ELFDATA2LSB
   OSABI:           ELFOSABI_GNU
   Type:            ET_REL
   Machine:         EM_X86_64
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -16,7 +16,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000007
         Symbol:          prog2
         Type:            R_X86_64_PC32
@@ -54,12 +54,12 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .eh_frame
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000020
         Symbol:          .text
         Type:            R_X86_64_PC32
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -78,7 +78,7 @@ Symbols:
     - Name:            .eh_frame
       Type:            STT_SECTION
       Section:         .eh_frame
-  Global:          
+  Global:
     - Name:            main
       Type:            STT_FUNC
       Section:         .text
index f88b0ddc96b22aba1803ca2a54a36f8ceebeb0ea..7d8d7febb68b7693e9b812898a47b71e1da7dae4 100644 (file)
@@ -1,11 +1,11 @@
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS64
   Data:            ELFDATA2LSB
   OSABI:           ELFOSABI_GNU
   Type:            ET_REL
   Machine:         EM_X86_64
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -16,7 +16,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000006
         Symbol:          .rodata.str1.1
         Type:            R_X86_64_64
@@ -54,12 +54,12 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .eh_frame
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000020
         Symbol:          .text
         Type:            R_X86_64_PC32
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -81,7 +81,7 @@ Symbols:
     - Name:            .eh_frame
       Type:            STT_SECTION
       Section:         .eh_frame
-  Global:          
+  Global:
     - Name:            prog2
       Type:            STT_FUNC
       Section:         .text
index 76aa22267f0b6408b6ea9f3971ad8901d572260d..4765c722b1ef5f938a9f618597df108c0f3cace4 100644 (file)
@@ -1,11 +1,11 @@
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS64
   Data:            ELFDATA2LSB
   OSABI:           ELFOSABI_GNU
   Type:            ET_REL
   Machine:         EM_X86_64
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -16,7 +16,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x0000000000000009
         Symbol:          main
         Type:            R_X86_64_PC32
@@ -31,8 +31,8 @@ Sections:
     Flags:           [ SHF_WRITE, SHF_ALLOC ]
     AddressAlign:    0x0000000000000004
     Content:         ''
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
@@ -42,7 +42,7 @@ Symbols:
     - Name:            .bss
       Type:            STT_SECTION
       Section:         .bss
-  Global:          
+  Global:
     - Name:            _start
       Section:         .text
       Value:           0x0000000000000008
index 91d4e1b57786968f704ec75588c52359b8451908..1a5fc2ab9cc09743fa1aede219d895ec08207f63 100644 (file)
@@ -1,11 +1,11 @@
 ---
-FileHeader:      
+FileHeader:
   Class:           ELFCLASS64
   Data:            ELFDATA2LSB
   OSABI:           ELFOSABI_GNU
   Type:            ET_REL
   Machine:         EM_X86_64
-Sections:        
+Sections:
   - Name:            .text
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -16,7 +16,7 @@ Sections:
     Link:            .symtab
     AddressAlign:    0x0000000000000008
     Info:            .text
-    Relocations:     
+    Relocations:
       - Offset:          0x000000000000000F
         Symbol:          .data
         Type:            R_X86_64_32S
@@ -30,8 +30,8 @@ Sections:
     Flags:           [ SHF_WRITE, SHF_ALLOC ]
     AddressAlign:    0x0000000000000004
     Content:         ''
-Symbols:         
-  Local:           
+Symbols:
+  Local:
     - Name:            main
       Section:         .text
     - Name:            msg
@@ -45,7 +45,7 @@ Symbols:
     - Name:            .bss
       Type:            STT_SECTION
       Section:         .bss
-  Global:          
+  Global:
     - Name:            _start
       Section:         .text
       Value:           0x000000000000001D
index b2165a92814259719a19d5d3df7d05eaa38a642e..d78a2997fe33f0e20cd1a4bb942cd12275a76176 100644 (file)
@@ -2,17 +2,17 @@
 arch:            armv7
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0xFE, 0xFF, 0xFF, 0xEB, 0x02, 0x00, 0x00, 0xFA, 
-                       0xFC, 0xFF, 0xFF, 0xEB, 0xFB, 0xFF, 0xFF, 0xFA, 
+    content:         [ 0xFE, 0xFF, 0xFF, 0xEB, 0x02, 0x00, 0x00, 0xFA,
+                       0xFC, 0xFF, 0xFF, 0xEB, 0xFB, 0xFF, 0xFF, 0xFA,
                        0x1E, 0xFF, 0x2F, 0xE1, 0x1E, 0xFF, 0x2F, 0xE1 ]
-    relocations:     
+    relocations:
       - offset:          0x0000000C
         type:            ARM_RELOC_BR24
         length:          2
@@ -43,7 +43,7 @@ sections:
     attributes:      [  ]
     address:         0x0000000000000018
     content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x00000004
         type:            ARM_RELOC_VANILLA
         length:          2
@@ -56,12 +56,12 @@ sections:
         pc-rel:          false
         extern:          true
         symbol:          3
-local-symbols:   
+local-symbols:
   - name:            _d2
     type:            N_SECT
     sect:            2
     value:           0x0000000000000018
-global-symbols:  
+global-symbols:
   - name:            _a1
     type:            N_SECT
     scope:           [ N_EXT ]
@@ -72,7 +72,7 @@ global-symbols:
     scope:           [ N_EXT ]
     sect:            1
     value:           0x0000000000000014
-undefined-symbols: 
+undefined-symbols:
   - name:            _t1
     type:            N_UNDF
     scope:           [ N_EXT ]
index 6059a452834740e401b00791033eac22688154ba..d256e9d7d463610d28c1f7b6b24fe649c3623b98 100644 (file)
@@ -2,18 +2,18 @@
 arch:            x86_64
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x8B, 0x0D, 0x00, 
-                       0x00, 0x00, 0x00, 0x48, 0x8B, 0x05, 0x00, 0x00, 
-                       0x00, 0x00, 0x8B, 0x00, 0x03, 0x01, 0x48, 0x8B, 
-                       0x0D, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x5D, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x8B, 0x0D, 0x00,
+                       0x00, 0x00, 0x00, 0x48, 0x8B, 0x05, 0x00, 0x00,
+                       0x00, 0x00, 0x8B, 0x00, 0x03, 0x01, 0x48, 0x8B,
+                       0x0D, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x5D,
                        0xC3 ]
-    relocations:     
+    relocations:
       - offset:          0x00000019
         type:            X86_64_RELOC_GOT_LOAD
         length:          2
@@ -32,13 +32,13 @@ sections:
         pc-rel:          true
         extern:          true
         symbol:          3
-global-symbols:  
+global-symbols:
   - name:            _main
     type:            N_SECT
     scope:           [ N_EXT ]
     sect:            1
     value:           0x0000000000000000
-undefined-symbols: 
+undefined-symbols:
   - name:            _bar
     type:            N_UNDF
     scope:           [ N_EXT ]
index 59d2f0ddd3d9c591189de48605ed05190767cc91..7e4a2e00ae6e0599ff79e8be585736468612b352 100644 (file)
@@ -20,16 +20,16 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0x40, 0xF2, 0x25, 0x00, 0xC0, 0xF2, 0x00, 0x00, 
-                       0x40, 0xF2, 0x01, 0x01, 0xC0, 0xF2, 0x00, 0x01, 
-                       0x40, 0xF2, 0x4E, 0x02, 0xC0, 0xF2, 0x00, 0x02, 
-                       0x40, 0xF2, 0x2A, 0x03, 0xC0, 0xF2, 0x00, 0x03, 
-                       0x78, 0x44, 0x70, 0x47, 0x70, 0x47, 0x25, 0x00, 
-                       0x00, 0xE3, 0x00, 0x00, 0x40, 0xE3, 0xD7, 0x1F, 
-                       0x0F, 0xE3, 0xFF, 0x1F, 0x4F, 0xE3, 0x4E, 0x20, 
-                       0x00, 0xE3, 0x00, 0x20, 0x40, 0xE3, 0x00, 0x30, 
-                       0x00, 0xE3, 0x00, 0x30, 0x40, 0xE3, 0x0F, 0x00, 
-                       0x80, 0xE0, 0x1E, 0xFF, 0x2F, 0xE1, 0x1E, 0xFF, 
+    content:         [ 0x40, 0xF2, 0x25, 0x00, 0xC0, 0xF2, 0x00, 0x00,
+                       0x40, 0xF2, 0x01, 0x01, 0xC0, 0xF2, 0x00, 0x01,
+                       0x40, 0xF2, 0x4E, 0x02, 0xC0, 0xF2, 0x00, 0x02,
+                       0x40, 0xF2, 0x2A, 0x03, 0xC0, 0xF2, 0x00, 0x03,
+                       0x78, 0x44, 0x70, 0x47, 0x70, 0x47, 0x25, 0x00,
+                       0x00, 0xE3, 0x00, 0x00, 0x40, 0xE3, 0xD7, 0x1F,
+                       0x0F, 0xE3, 0xFF, 0x1F, 0x4F, 0xE3, 0x4E, 0x20,
+                       0x00, 0xE3, 0x00, 0x20, 0x40, 0xE3, 0x00, 0x30,
+                       0x00, 0xE3, 0x00, 0x30, 0x40, 0xE3, 0x0F, 0x00,
+                       0x80, 0xE0, 0x1E, 0xFF, 0x2F, 0xE1, 0x1E, 0xFF,
                        0x2F, 0xE1 ]
     relocations:
       - offset:          0x00000042
index c2883024b5b94456035fffa0f517544c69acea34..fc51edfedc10cac059a559f842d176f690f6ae16 100644 (file)
@@ -2,7 +2,7 @@
 # RUN: %p/Inputs/arm-interworking.yaml -o %t  | FileCheck %s \
 # RUN: && lld -flavor darwin -arch armv7 -dylib -print_atoms \
 # RUN:         %p/Inputs/libSystem.yaml %t -o %t2  | FileCheck %s \
-# RUN: && macho-dump --dump-section-data %t2 | FileCheck -check-prefix=CODE %s 
+# RUN: && macho-dump --dump-section-data %t2 | FileCheck -check-prefix=CODE %s
 #
 # Test thumb and arm branches round trip through -r.
 # Test bl/blx instructions are fixed up properly.
 arch:            armv7
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0xFF, 0xF7, 0xFE, 0xFF, 0xC0, 0x46, 0xFF, 0xF7, 
-                       0xFC, 0xEF, 0xC0, 0x46, 0xFF, 0xF7, 0xF8, 0xEF, 
-                       0xFF, 0xF7, 0xF6, 0xFF, 0xC0, 0x46, 0xFF, 0xF7, 
-                       0xF3, 0xFF, 0xC0, 0x46, 0x00, 0xF0, 0x06, 0xE8, 
-                       0xC0, 0x46, 0x00, 0xF0, 0x03, 0xF8, 0x00, 0xF0, 
+    content:         [ 0xFF, 0xF7, 0xFE, 0xFF, 0xC0, 0x46, 0xFF, 0xF7,
+                       0xFC, 0xEF, 0xC0, 0x46, 0xFF, 0xF7, 0xF8, 0xEF,
+                       0xFF, 0xF7, 0xF6, 0xFF, 0xC0, 0x46, 0xFF, 0xF7,
+                       0xF3, 0xFF, 0xC0, 0x46, 0x00, 0xF0, 0x06, 0xE8,
+                       0xC0, 0x46, 0x00, 0xF0, 0x03, 0xF8, 0x00, 0xF0,
                        0x02, 0xF8, 0x70, 0x47, 0x70, 0x47, 0x70, 0x47 ]
-    relocations:     
+    relocations:
       - offset:          0x00000026
         type:            ARM_THUMB_RELOC_BR22
         length:          2
@@ -81,7 +81,7 @@ sections:
     attributes:      [  ]
     address:         0x0000000000000030
     content:         [ 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x00000004
         type:            ARM_RELOC_VANILLA
         length:          2
@@ -94,7 +94,7 @@ sections:
         pc-rel:          false
         extern:          false
         symbol:          1
-local-symbols:   
+local-symbols:
   - name:            _t3
     type:            N_SECT
     sect:            1
@@ -104,7 +104,7 @@ local-symbols:
     type:            N_SECT
     sect:            2
     value:           0x0000000000000030
-global-symbols:  
+global-symbols:
   - name:            _t1
     type:            N_SECT
     scope:           [ N_EXT ]
@@ -117,7 +117,7 @@ global-symbols:
     sect:            1
     desc:            [ N_ARM_THUMB_DEF ]
     value:           0x000000000000002C
-undefined-symbols: 
+undefined-symbols:
   - name:            _a1
     type:            N_UNDF
     scope:           [ N_EXT ]
@@ -130,10 +130,10 @@ undefined-symbols:
 ...
 
 
-# CHECK: defined-atoms:   
+# CHECK: defined-atoms:
 # CHECK:   - name:            _d1
 # CHECK:     type:            data
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:            pointer32
 # CHECK:         offset:          0
 # CHECK:         target:          _t2
@@ -142,7 +142,7 @@ undefined-symbols:
 # CHECK:         target:          _a1
 # CHECK:   - name:            _d2
 # CHECK:     type:            data
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:            pointer32
 # CHECK:         offset:          0
 # CHECK:         target:          _t1
@@ -151,7 +151,7 @@ undefined-symbols:
 # CHECK:         target:          _a1
 # CHECK:   - name:            _t1
 # CHECK:     scope:           global
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:            modeThumbCode
 # CHECK:         offset:          0
 # CHECK:         target:          _t1
@@ -182,19 +182,19 @@ undefined-symbols:
 # CHECK:   - name:            _t2
 # CHECK:     scope:           global
 # CHECK:     content:         [ 70, 47 ]
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:            modeThumbCode
 # CHECK:         offset:          0
 # CHECK:         target:          _t2
 # CHECK:   - name:            _t3
 # CHECK:     content:         [ 70, 47 ]
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:            modeThumbCode
 # CHECK:         offset:          0
 # CHECK:         target:          _t3
 # CHECK:   - name:            _a1
 # CHECK:     scope:           global
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:            arm_bl24
 # CHECK:         offset:          0
 # CHECK:         target:          _a1
@@ -243,18 +243,18 @@ undefined-symbols:
 #    nop
 #    blx  _t2
 #    bx   lr
-#    
+#
 #  .globl _t2
 #  .thumb_func _t2
 #_t2:
 #    bx   lr
-#    
+#
 #    .data
 #_d1:  .long _t2
 #      .long _a1
 
-      
-      
+
+
 # Input file two:
 #
 #      .align  2
@@ -266,15 +266,15 @@ undefined-symbols:
 #    bl  _t1
 #    blx _t2
 #    bx   lr
-#    
+#
 #  .globl _a2
 #_a2:
 #    bx   lr
-#    
+#
 #    .data
 #_d2:  .long _t1
 #      .long _a1
 
 
 
-      
\ No newline at end of file
+
index b704568f37b10f3982d1e84e397248d0c4819d9a..23c2847e6c776bfe9c55f3d528e4ab5ccfecd0fb 100644 (file)
@@ -18,8 +18,8 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0x04, 0x10, 0x9F, 0xE5, 0x04, 0x20, 0x9F, 0xE5, 
-                       0x1E, 0xFF, 0x2F, 0xE1, 0x78, 0x56, 0x34, 0x12, 
+    content:         [ 0x04, 0x10, 0x9F, 0xE5, 0x04, 0x20, 0x9F, 0xE5,
+                       0x1E, 0xFF, 0x2F, 0xE1, 0x78, 0x56, 0x34, 0x12,
                        0x21, 0x43, 0x65, 0x87 ]
 local-symbols:
   - name:            constants1
index c285066ad778bc0e4be0a5b63ea9c386e4c17e0d..8d21430474521e6eccf2c65f5023f82cde7539ef 100644 (file)
@@ -16,7 +16,7 @@ sections:
     alignment:       2
     address:         0x0000000000000000
     content:         [ 0x00, 0x00, 0x00, 0x00 ]
-global-symbols:  
+global-symbols:
   - name:            _myData
     type:            N_SECT
     scope:           [ N_EXT ]
index 6405458084777d443e107802ce1b0f7402663d39..f8a76cddd29f94945788a4eb05239fc92b3c42ad 100644 (file)
@@ -21,7 +21,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0xE8, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x00, 0x00, 
+    content:         [ 0xE8, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x00, 0x00,
                        0x00, 0x00, 0xE8, 0x00, 0x00, 0x00, 0x00 ]
     relocations:
       - offset:          0x0000000B
index 71121d7400f6a3635bb9bb59811fa1d39f27ee87..f52614038ca467eacc4aa44b9be8c5115aa78144 100644 (file)
@@ -31,7 +31,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48,
                        0x89, 0xE5, 0x5D, 0xC3 ]
   - segment:         __DATA
     section:         __data
index 735162dfedc880234c0236aec04a1969f685b8b1..31b325c7387b1c5e2315fc4e4271477d6c6d13ad 100644 (file)
@@ -21,7 +21,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48,
                        0x89, 0xE5, 0x5D, 0xC3 ]
   - segment:         __DATA
     section:         __data
index c6a8d8f4022f6556c5f91adafbc953c3489777c5..1e2fc821c365566c0cd9fab235b0573fd0832bc0 100644 (file)
@@ -14,7 +14,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48,
                        0x89, 0xE5, 0x5D, 0xC3 ]
   - segment:         __DATA
     section:         __data
index 5db7fd96ff0e843cf23f673f67e841fa67ef9d8a..86828d6a12b7235746bc5420feb44ad23cbed91c 100644 (file)
@@ -16,11 +16,11 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       4
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x83, 0xEC, 0x10, 
-                       0xC7, 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xB0, 
-                       0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x83, 0xEC, 0x10,
+                       0xC7, 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xB0,
+                       0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0,
                        0x48, 0x83, 0xC4, 0x10, 0x5D, 0xC3 ]
-    relocations:     
+    relocations:
       - offset:          0x00000012
         type:            X86_64_RELOC_BRANCH
         length:          2
index 0b932e1598824e60bd5fb4c9c378f3953d78769b..c8f559bedd79a7c866137961357f129442890aff 100644 (file)
@@ -1,7 +1,7 @@
 # RUN: lld -flavor darwin -arch x86_64 -dylib %p/Inputs/bar.yaml \
 # RUN:     -install_name /usr/lib/libbar.dylib %p/Inputs/libSystem.yaml -o %t1.dylib
 # RUN: lld -flavor darwin -arch x86_64 -dylib %s -all_load %t1.dylib \
-# RUN:      -install_name /usr/lib/libfoo.dylib %p/Inputs/libSystem.yaml -o %t 
+# RUN:      -install_name /usr/lib/libfoo.dylib %p/Inputs/libSystem.yaml -o %t
 # RUN: llvm-nm -m %t | FileCheck %s
 #
 #
@@ -18,7 +18,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x31, 0xC0, 0x5D, 0xE9, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x31, 0xC0, 0x5D, 0xE9,
                        0x00, 0x00, 0x00, 0x00 ]
     relocations:
       - offset:          0x00000008
index 35905effd2c4dbf8d0488732f40fdb0b7593d655..1be216ca3a746053a3fbb24e4b9a7724128b4cfa 100644 (file)
@@ -15,14 +15,14 @@ file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 has-UUID:        false
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
     content:         [ 0xC3 ]
-global-symbols:  
+global-symbols:
   - name:            _main
     type:            N_SECT
     scope:           [ N_EXT ]
index f6ac64779a7172c4738cfd6cc7e16f61073a1018..80d6e3b5868b67c32856ac92e6664f42520a3103 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Test framework and SDK search paths. 
+# Test framework and SDK search paths.
 #   myFrameworks is not an absolute path, so it should not by found in SDK
 #   /Custom/Frameworks should be found in SDK
 #   /opt/Frameworks should not be found in SDK
index fcaa61cbc23917a0fe5db592c55f42e346467590..b69877ecdc396769bcf43a494c4fd2e4d7a16bb8 100644 (file)
@@ -9,18 +9,18 @@
 arch:            x86_64
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x8B, 0x0D, 0x00, 
-                       0x00, 0x00, 0x00, 0x48, 0x8B, 0x05, 0x00, 0x00, 
-                       0x00, 0x00, 0x8B, 0x00, 0x03, 0x01, 0x48, 0x8B, 
-                       0x0D, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x5D, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x8B, 0x0D, 0x00,
+                       0x00, 0x00, 0x00, 0x48, 0x8B, 0x05, 0x00, 0x00,
+                       0x00, 0x00, 0x8B, 0x00, 0x03, 0x01, 0x48, 0x8B,
+                       0x0D, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x5D,
                        0xC3 ]
-    relocations:     
+    relocations:
       - offset:          0x00000019
         type:            X86_64_RELOC_GOT_LOAD
         length:          2
@@ -39,13 +39,13 @@ sections:
         pc-rel:          true
         extern:          true
         symbol:          3
-global-symbols:  
+global-symbols:
   - name:            _func
     type:            N_SECT
     scope:           [ N_EXT ]
     sect:            1
     value:           0x0000000000000000
-undefined-symbols: 
+undefined-symbols:
   - name:            _aaa
     type:            N_UNDF
     scope:           [ N_EXT ]
index d53d37638dca54d7eaebf5fe8f8f735b495430fd..c260a7bc5a10008fa4d69b81ab02c0dd7f01fab5 100644 (file)
@@ -10,17 +10,17 @@ file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 has-UUID:        false
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0x80, 0xB5, 0x40, 0xF2, 0x06, 0x00, 0x6F, 0x46, 
-                       0xC0, 0xF2, 0x00, 0x00, 0x78, 0x44, 0xFF, 0xF7, 
+    content:         [ 0x80, 0xB5, 0x40, 0xF2, 0x06, 0x00, 0x6F, 0x46,
+                       0xC0, 0xF2, 0x00, 0x00, 0x78, 0x44, 0xFF, 0xF7,
                        0xF8, 0xEF, 0x00, 0x20, 0x80, 0xBD ]
-    relocations:     
+    relocations:
       - offset:          0x0000000E
         type:            ARM_THUMB_RELOC_BR22
         length:          2
@@ -57,14 +57,14 @@ sections:
     attributes:      [  ]
     address:         0x0000000000000016
     content:         [ 0x68, 0x65, 0x6C, 0x6C, 0x6F, 0x0A, 0x00 ]
-global-symbols:  
+global-symbols:
   - name:            _main
     type:            N_SECT
     scope:           [ N_EXT ]
     sect:            1
     desc:            [ N_ARM_THUMB_DEF ]
     value:           0x0000000000000000
-undefined-symbols: 
+undefined-symbols:
   - name:            _printf
     type:            N_UNDF
     scope:           [ N_EXT ]
index 27f3511addc4d3d4cc63e695c06e46edf41e3dc7..779b6811e08060c9b7543bbfddf7ac6456bbeacd 100644 (file)
@@ -14,10 +14,10 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x89, 0xE5, 0x83, 0xEC, 0x08, 0xE8, 0x00, 
-                       0x00, 0x00, 0x00, 0x58, 0x8D, 0x80, 0x16, 0x00, 
-                       0x00, 0x00, 0x89, 0x04, 0x24, 0xE8, 0xE6, 0xFF, 
-                       0xFF, 0xFF, 0x31, 0xC0, 0x83, 0xC4, 0x08, 0x5D, 
+    content:         [ 0x55, 0x89, 0xE5, 0x83, 0xEC, 0x08, 0xE8, 0x00,
+                       0x00, 0x00, 0x00, 0x58, 0x8D, 0x80, 0x16, 0x00,
+                       0x00, 0x00, 0x89, 0x04, 0x24, 0xE8, 0xE6, 0xFF,
+                       0xFF, 0xFF, 0x31, 0xC0, 0x83, 0xC4, 0x08, 0x5D,
                        0xC3 ]
     relocations:
       - offset:          0x00000016
index eba31867b26b9ec1a88304ed823858d442a1c7c1..b40ee90d4dd128b2f792b51bae65999f2197efb7 100644 (file)
@@ -15,17 +15,17 @@ file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 has-UUID:        false
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x8B, 0x05, 0x00, 
-                       0x00, 0x00, 0x00, 0x48, 0x8B, 0x38, 0x48, 0x8D, 
-                       0x35, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0, 0xE8, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x8B, 0x05, 0x00,
+                       0x00, 0x00, 0x00, 0x48, 0x8B, 0x38, 0x48, 0x8D,
+                       0x35, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0, 0xE8,
                        0x00, 0x00, 0x00, 0x00, 0x31, 0xC0, 0x5D, 0xC3 ]
-    relocations:     
+    relocations:
       - offset:          0x00000018
         type:            X86_64_RELOC_BRANCH
         length:          2
@@ -56,11 +56,11 @@ sections:
     attributes:      [  ]
     alignment:       3
     address:         0x0000000000000028
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x00000000
         type:            X86_64_RELOC_UNSIGNED
         length:          3
@@ -73,15 +73,15 @@ sections:
     attributes:      [  ]
     alignment:       3
     address:         0x0000000000000048
-    content:         [ 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x01, 0x7A, 0x52, 0x00, 0x01, 0x78, 0x10, 0x01, 
-                       0x10, 0x0C, 0x07, 0x08, 0x90, 0x01, 0x00, 0x00, 
-                       0x24, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00, 
-                       0x98, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 
-                       0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x41, 0x0E, 0x10, 0x86, 0x02, 0x43, 0x0D, 
+    content:         [ 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x01, 0x7A, 0x52, 0x00, 0x01, 0x78, 0x10, 0x01,
+                       0x10, 0x0C, 0x07, 0x08, 0x90, 0x01, 0x00, 0x00,
+                       0x24, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00,
+                       0x98, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+                       0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x41, 0x0E, 0x10, 0x86, 0x02, 0x43, 0x0D,
                        0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
-local-symbols:   
+local-symbols:
   - name:            L1
     type:            N_SECT
     sect:            2
@@ -90,7 +90,7 @@ local-symbols:
     type:            N_SECT
     sect:            4
     value:           0x0000000000000048
-global-symbols:  
+global-symbols:
   - name:            _main
     type:            N_SECT
     scope:           [ N_EXT ]
@@ -101,7 +101,7 @@ global-symbols:
     scope:           [ N_EXT ]
     sect:            4
     value:           0x0000000000000060
-undefined-symbols: 
+undefined-symbols:
   - name:            ___stdoutp
     type:            N_UNDF
     scope:           [ N_EXT ]
index 94f8543bd72e3474cf4581b635e7e8ea03b763ff..c09c94dd1b70b0eff0a895fe8a10269915e20efa 100644 (file)
@@ -25,5 +25,5 @@ global-symbols:
 ...
 
 
-# CHECK: defined-atoms:   
+# CHECK: defined-atoms:
 # CHECK:  - name:            _foo
index 2ac28f03795a1ab39571152f57005305ab7cbcac..76e33904d1130bef9d9fa620e3103cd2b9682c17 100644 (file)
 arch:            x86_64
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x31, 0xC0, 0x5D, 0xE9, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x31, 0xC0, 0x5D, 0xE9,
                        0x00, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x00000008
         type:            X86_64_RELOC_BRANCH
         length:          2
@@ -33,9 +33,9 @@ sections:
     attributes:      [  ]
     alignment:       3
     address:         0x0000000000000010
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x00000008
         type:            X86_64_RELOC_UNSIGNED
         length:          3
@@ -48,7 +48,7 @@ sections:
         pc-rel:          false
         extern:          true
         symbol:          0
-local-symbols:   
+local-symbols:
   - name:            _my_open
     type:            N_SECT
     sect:            1
@@ -58,7 +58,7 @@ local-symbols:
     sect:            2
     desc:            [ N_NO_DEAD_STRIP ]
     value:           0x0000000000000010
-undefined-symbols: 
+undefined-symbols:
   - name:            _open
     type:            N_UNDF
     scope:           [ N_EXT ]
index d67941a1c8eb59e5e388e4cf822cc6bbbadf3487..e7adf180fc7b3405de22d8b5924c29754e803fec 100644 (file)
@@ -17,7 +17,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x5D, 0xC3, 0x55, 0x48,
                        0x89, 0xE5, 0x5D, 0xC3 ]
   - segment:         __DATA
     section:         __data
index 23e9f6873134bba28bffeaceddc2487e721eccee..f9cd5a6c44d239f9e89f6cb470fbe5713391a090 100644 (file)
@@ -16,9 +16,9 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       4
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x83, 0xEC, 0x10, 
-                       0xC7, 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xB0, 
-                       0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x83, 0xEC, 0x10,
+                       0xC7, 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xB0,
+                       0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0,
                        0x48, 0x83, 0xC4, 0x10, 0x5D, 0xC3 ]
     relocations:
       - offset:          0x00000012
index a58d763fff005eb996e7f537e0f8be8072a7480a..a8a0ca8968b3bf29408d7e4adc90619442190267 100644 (file)
@@ -16,9 +16,9 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       4
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x83, 0xEC, 0x10, 
-                       0xC7, 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xB0, 
-                       0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x48, 0x83, 0xEC, 0x10,
+                       0xC7, 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xB0,
+                       0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC0,
                        0x48, 0x83, 0xC4, 0x10, 0x5D, 0xC3 ]
     relocations:
       - offset:          0x00000012
index 5844812295be638c14f35c3bfd20b8b5d61c698e..9eb0af77726e80cce941056bd9a7e087905ab41b 100644 (file)
@@ -17,15 +17,15 @@ sections:
     attributes:      [  ]
     alignment:       3
     address:         0x0000000000000000
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
     relocations:
       - offset:          0x00000030
index 457ea58133b95253419ff865dbc1a1296d806e94..54da2d64e63ae39794dc6c5c6c444497f5790cf7 100644 (file)
@@ -68,7 +68,7 @@ global-symbols:
     value:           0x0000000000000001
 ...
 
-# CHECK: defined-atoms:   
+# CHECK: defined-atoms:
 # CHECK:   - name:            _pad
 # CHECK:     scope:           global
 # CHECK:     content:         [ CC ]
index c87c2a99b2157fa7020280bdd85fffbc15fa76cf..abeb3ddeb9d1164a5c600ee418eeca6869a36b9e 100644 (file)
@@ -438,10 +438,10 @@ sections:
     type:            S_REGULAR
     attributes:      [  ]
     address:         0x00000000000000A0
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
-                       0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x04, 0x00, 0x00, 0x00, 0xA4, 0xFF, 0xFF, 0xFF, 
-                       0xA4, 0xFF, 0xFF, 0xFF, 0x45, 0xFF, 0xFF, 0xFF, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
+                       0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x04, 0x00, 0x00, 0x00, 0xA4, 0xFF, 0xFF, 0xFF,
+                       0xA4, 0xFF, 0xFF, 0xFF, 0x45, 0xFF, 0xFF, 0xFF,
                        0x45, 0xFF, 0xFF, 0xFF ]
     relocations:
       - offset:          0x00000020
@@ -742,7 +742,7 @@ undefined-symbols:
 # CHECK:          offset:          68
 # CHECK:          target:          _undef
 # CHECK:          addend:          8
-# CHECK:  undefined-atoms: 
+# CHECK:  undefined-atoms:
 # CHECK:    - name:            _undef
 
 
@@ -782,7 +782,7 @@ undefined-symbols:
 #
 #
 #      .code   32
-#  .align 2  
+#  .align 2
 #_foo_arm:
 #  bl    _x
 #  bl    _x+4
@@ -803,7 +803,7 @@ undefined-symbols:
 #      movt    r5, :upper16:_undef
 #      movw    r6, :lower16:_undef+8
 #      movt    r6, :upper16:_undef+8
-#  
+#
 #
 #  .data
 #_x:  .long 0
index fbd674d90d997559f4b5d37246e8474f494b85d8..b90277f056e5793039c6e5a3a27630c6eaa3363f 100644 (file)
@@ -72,7 +72,7 @@ undefined-symbols:
     value:           0x0000000000000000
 ...
 
-# CHECK:defined-atoms:   
+# CHECK:defined-atoms:
 # CHECK:  - ref-name:        L000
 # CHECK:    scope:           hidden
 # CHECK:    type:            c-string
@@ -86,7 +86,7 @@ undefined-symbols:
 # CHECK:  - scope:           hidden
 # CHECK:    type:            cfstring
 # CHECK:    merge:           by-content
-# CHECK:    references:      
+# CHECK:    references:
 # CHECK:      - kind:            pointer64
 # CHECK:        offset:          0
 # CHECK:        target:          ___CFConstantStringClassReference
@@ -96,13 +96,13 @@ undefined-symbols:
 # CHECK:  - scope:           hidden
 # CHECK:    type:            cfstring
 # CHECK:    merge:           by-content
-# CHECK:    references:      
+# CHECK:    references:
 # CHECK:      - kind:            pointer64
 # CHECK:        offset:          0
 # CHECK:        target:          ___CFConstantStringClassReference
 # CHECK:      - kind:            pointer64
 # CHECK:        offset:          16
 # CHECK:        target:          L001
-# CHECK:undefined-atoms: 
+# CHECK:undefined-atoms:
 # CHECK:  - name:            ___CFConstantStringClassReference
 
index 29b483e7d723671876c06f2f5bda15810888e997..720f24d7b47fab8948ba1273c69cf3660811fe9c 100644 (file)
@@ -18,11 +18,11 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0x00, 0xBF, 0x00, 0xBF, 0x00, 0x00, 0x00, 0x00, 
-                       0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 
-                       0x03, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x00, 0xBF, 
-                       0x00, 0xF0, 0x20, 0xE3, 0x0A, 0x00, 0x00, 0x00, 
-                       0x0B, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, 
+    content:         [ 0x00, 0xBF, 0x00, 0xBF, 0x00, 0x00, 0x00, 0x00,
+                       0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
+                       0x03, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x00, 0xBF,
+                       0x00, 0xF0, 0x20, 0xE3, 0x0A, 0x00, 0x00, 0x00,
+                       0x0B, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00,
                        0x0D, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x20, 0xE3 ]
 local-symbols:
   - name:            _foo_thumb
@@ -133,7 +133,7 @@ dataInCode:
 #
 #
 #      .code   32
-#  .align 2  
+#  .align 2
 #_foo_arm:
 #  nop
 #
index ae93c1bb75d920e59c0a9061689529215bd44543..edeb16068876f6ee52f6ca7ec1624f417aad897c 100644 (file)
 #
 #_bar:
 #  ret
-#  
+#
 #  .section __DATA,__custom
 #L1:
 #  .quad 0
-#  
+#
 #  .data
 #_d:
 #  .quad   _foo
@@ -40,7 +40,7 @@ file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 has-UUID:        false
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
@@ -59,16 +59,16 @@ sections:
     attributes:      [  ]
     alignment:       3
     address:         0x0000000000000008
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 
-                       0xDC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 
-                       0xD2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 
-                       0xC8, 0xFF, 0xFF, 0xFF, 0xC8, 0xFF, 0xFF, 0xFF, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+                       0xDC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+                       0xD2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+                       0xC8, 0xFF, 0xFF, 0xFF, 0xC8, 0xFF, 0xFF, 0xFF,
                        0xC2, 0xFF, 0xFF, 0xFF ]
-    relocations:     
+    relocations:
       - offset:          0x00000040
         type:            X86_64_RELOC_SUBTRACTOR
         length:          2
@@ -165,7 +165,7 @@ sections:
         pc-rel:          false
         extern:          true
         symbol:          0
-local-symbols:   
+local-symbols:
   - name:            _foo
     type:            N_SECT
     sect:            1
@@ -184,7 +184,7 @@ local-symbols:
 # CHECK: defined-atoms:
 # CHECK:  - name:            _d
 # CHECK:    type:            data
-# CHECK:    references:      
+# CHECK:    references:
 # CHECK:      - kind:            pointer64
 # CHECK:        offset:          0
 # CHECK:        target:          _foo
index 9e3adaea18498eca679f97d1779733761b81085c..09b6ba37c09ae2a7f26383715d8d5b6409b5755e 100644 (file)
@@ -9,22 +9,22 @@ arch:            x86
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x89, 0xE5, 0x56, 0x83, 0xEC, 0x14, 0xE8, 
-                       0x00, 0x00, 0x00, 0x00, 0x5E, 0xC7, 0x04, 0x24, 
-                       0x04, 0x00, 0x00, 0x00, 0xE8, 0xE7, 0xFF, 0xFF, 
-                       0xFF, 0xC7, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B, 
-                       0x8E, 0x38, 0x00, 0x00, 0x00, 0x89, 0x4C, 0x24, 
-                       0x04, 0x89, 0x04, 0x24, 0xC7, 0x44, 0x24, 0x08, 
-                       0x00, 0x00, 0x00, 0x00, 0xE8, 0xC7, 0xFF, 0xFF, 
-                       0xFF, 0x55, 0x89, 0xE5, 0x83, 0xEC, 0x08, 0xE8, 
+    content:         [ 0x55, 0x89, 0xE5, 0x56, 0x83, 0xEC, 0x14, 0xE8,
+                       0x00, 0x00, 0x00, 0x00, 0x5E, 0xC7, 0x04, 0x24,
+                       0x04, 0x00, 0x00, 0x00, 0xE8, 0xE7, 0xFF, 0xFF,
+                       0xFF, 0xC7, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B,
+                       0x8E, 0x38, 0x00, 0x00, 0x00, 0x89, 0x4C, 0x24,
+                       0x04, 0x89, 0x04, 0x24, 0xC7, 0x44, 0x24, 0x08,
+                       0x00, 0x00, 0x00, 0x00, 0xE8, 0xC7, 0xFF, 0xFF,
+                       0xFF, 0x55, 0x89, 0xE5, 0x83, 0xEC, 0x08, 0xE8,
                        0xBC, 0xFF, 0xFF, 0xFF ]
-    relocations:     
+    relocations:
       - offset:          0x00000040
         type:            GENERIC_RELOC_VANILLA
         length:          2
@@ -68,17 +68,17 @@ sections:
     attributes:      [  ]
     alignment:       2
     address:         0x0000000000000048
-    content:         [ 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x01, 0x7A, 0x52, 0x00, 0x01, 0x7C, 0x08, 0x01, 
-                       0x10, 0x0C, 0x05, 0x04, 0x88, 0x01, 0x00, 0x00, 
-                       0x18, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00, 
-                       0x98, 0xFF, 0xFF, 0xFF, 0x39, 0x00, 0x00, 0x00, 
-                       0x00, 0x41, 0x0E, 0x08, 0x84, 0x02, 0x42, 0x0D, 
-                       0x04, 0x44, 0x86, 0x03, 0x18, 0x00, 0x00, 0x00, 
-                       0x38, 0x00, 0x00, 0x00, 0xB5, 0xFF, 0xFF, 0xFF, 
-                       0x0B, 0x00, 0x00, 0x00, 0x00, 0x41, 0x0E, 0x08, 
+    content:         [ 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x01, 0x7A, 0x52, 0x00, 0x01, 0x7C, 0x08, 0x01,
+                       0x10, 0x0C, 0x05, 0x04, 0x88, 0x01, 0x00, 0x00,
+                       0x18, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00,
+                       0x98, 0xFF, 0xFF, 0xFF, 0x39, 0x00, 0x00, 0x00,
+                       0x00, 0x41, 0x0E, 0x08, 0x84, 0x02, 0x42, 0x0D,
+                       0x04, 0x44, 0x86, 0x03, 0x18, 0x00, 0x00, 0x00,
+                       0x38, 0x00, 0x00, 0x00, 0xB5, 0xFF, 0xFF, 0xFF,
+                       0x0B, 0x00, 0x00, 0x00, 0x00, 0x41, 0x0E, 0x08,
                        0x84, 0x02, 0x42, 0x0D, 0x04, 0x00, 0x00, 0x00 ]
-global-symbols:  
+global-symbols:
   - name:            __Z3barv
     type:            N_SECT
     scope:           [ N_EXT ]
@@ -89,7 +89,7 @@ global-symbols:
     scope:           [ N_EXT ]
     sect:            1
     value:           0x0000000000000000
-undefined-symbols: 
+undefined-symbols:
   - name:            __ZTIi
     type:            N_UNDF
     scope:           [ N_EXT ]
@@ -104,12 +104,12 @@ undefined-symbols:
     value:           0x0000000000000000
 ...
 
-# CHECK: defined-atoms:   
+# CHECK: defined-atoms:
 # CHECK:   - ref-name:        [[CIE:L[L0-9]+]]
 # CHECK:     type:            unwind-cfi
-# CHECK:     content:          
+# CHECK:     content:
 # CHECK:   - type:            unwind-cfi
-# CHECK:     content:         
+# CHECK:     content:
 # CHECK:     references:
 # CHECK:       - kind:            negDelta32
 # CHECK:         offset:          4
@@ -118,7 +118,7 @@ undefined-symbols:
 # CHECK:         offset:          8
 # CHECK:         target:          __Z3foov
 # CHECK:   - type:            unwind-cfi
-# CHECK:     content:          
+# CHECK:     content:
 # CHECK:     references:
 # CHECK:       - kind:            negDelta32
 # CHECK:         offset:          4
index b07a534e649344156f296a8881f54ccdb2ae3a7d..5be5abcc4a0e090636b4a22349fc468f099d1d51 100644 (file)
@@ -9,22 +9,22 @@ arch:            x86
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x89, 0xE5, 0x56, 0x83, 0xEC, 0x14, 0xE8, 
-                       0x00, 0x00, 0x00, 0x00, 0x5E, 0xC7, 0x04, 0x24, 
-                       0x04, 0x00, 0x00, 0x00, 0xE8, 0xE7, 0xFF, 0xFF, 
-                       0xFF, 0xC7, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B, 
-                       0x8E, 0x38, 0x00, 0x00, 0x00, 0x89, 0x4C, 0x24, 
-                       0x04, 0x89, 0x04, 0x24, 0xC7, 0x44, 0x24, 0x08, 
-                       0x00, 0x00, 0x00, 0x00, 0xE8, 0xC7, 0xFF, 0xFF, 
-                       0xFF, 0x55, 0x89, 0xE5, 0x83, 0xEC, 0x08, 0xE8, 
+    content:         [ 0x55, 0x89, 0xE5, 0x56, 0x83, 0xEC, 0x14, 0xE8,
+                       0x00, 0x00, 0x00, 0x00, 0x5E, 0xC7, 0x04, 0x24,
+                       0x04, 0x00, 0x00, 0x00, 0xE8, 0xE7, 0xFF, 0xFF,
+                       0xFF, 0xC7, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x8B,
+                       0x8E, 0x38, 0x00, 0x00, 0x00, 0x89, 0x4C, 0x24,
+                       0x04, 0x89, 0x04, 0x24, 0xC7, 0x44, 0x24, 0x08,
+                       0x00, 0x00, 0x00, 0x00, 0xE8, 0xC7, 0xFF, 0xFF,
+                       0xFF, 0x55, 0x89, 0xE5, 0x83, 0xEC, 0x08, 0xE8,
                        0xBC, 0xFF, 0xFF, 0xFF ]
-    relocations:     
+    relocations:
       - offset:          0x00000040
         type:            GENERIC_RELOC_VANILLA
         length:          2
@@ -68,17 +68,17 @@ sections:
     attributes:      [  ]
     alignment:       2
     address:         0x0000000000000048
-    content:         [ 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x01, 0x7A, 0x52, 0x00, 0x01, 0x7C, 0x08, 0x01, 
-                       0x10, 0x0C, 0x05, 0x04, 0x88, 0x01, 0x00, 0x00, 
-                       0x18, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00, 
-                       0x98, 0xFF, 0xFF, 0xFF, 0x39, 0x00, 0x00, 0x00, 
-                       0x00, 0x41, 0x0E, 0x08, 0x84, 0x02, 0x42, 0x0D, 
-                       0x04, 0x44, 0x86, 0x03, 0x18, 0x00, 0x00, 0x00, 
-                       0x38, 0x00, 0x00, 0x00, 0xB5, 0xFF, 0xFF, 0xFF, 
-                       0x0B, 0x00, 0x00, 0x00, 0x00, 0x41, 0x0E, 0x08, 
+    content:         [ 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x01, 0x7A, 0x52, 0x00, 0x01, 0x7C, 0x08, 0x01,
+                       0x10, 0x0C, 0x05, 0x04, 0x88, 0x01, 0x00, 0x00,
+                       0x18, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00,
+                       0x98, 0xFF, 0xFF, 0xFF, 0x39, 0x00, 0x00, 0x00,
+                       0x00, 0x41, 0x0E, 0x08, 0x84, 0x02, 0x42, 0x0D,
+                       0x04, 0x44, 0x86, 0x03, 0x18, 0x00, 0x00, 0x00,
+                       0x38, 0x00, 0x00, 0x00, 0xB5, 0xFF, 0xFF, 0xFF,
+                       0x0B, 0x00, 0x00, 0x00, 0x00, 0x41, 0x0E, 0x08,
                        0x84, 0x02, 0x42, 0x0D, 0x04, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x0000001C
         scattered:       true
         type:            GENERIC_RELOC_LOCAL_SECTDIFF
@@ -127,12 +127,12 @@ sections:
         length:          2
         pc-rel:          false
         value:           0x00000084
-local-symbols:   
+local-symbols:
   - name:            EH_frame0
     type:            N_SECT
     sect:            3
     value:           0x0000000000000048
-global-symbols:  
+global-symbols:
   - name:            __Z3barv
     type:            N_SECT
     scope:           [ N_EXT ]
@@ -153,7 +153,7 @@ global-symbols:
     scope:           [ N_EXT ]
     sect:            3
     value:           0x0000000000000060
-undefined-symbols: 
+undefined-symbols:
   - name:            __ZTIi
     type:            N_UNDF
     scope:           [ N_EXT ]
@@ -168,13 +168,13 @@ undefined-symbols:
     value:           0x0000000000000000
 ...
 
-# CHECK: defined-atoms:   
+# CHECK: defined-atoms:
 # CHECK:   - ref-name:        [[CIE:L[L0-9]+]]
 # CHECK:     type:            unwind-cfi
-# CHECK:     content:          
+# CHECK:     content:
 # CHECK:   - type:            unwind-cfi
-# CHECK:     content:         
-# CHECK:     references:      
+# CHECK:     content:
+# CHECK:     references:
 # CHECK:       - kind:            negDelta32
 # CHECK:         offset:          4
 # CHECK:         target:          [[CIE]]
@@ -182,8 +182,8 @@ undefined-symbols:
 # CHECK:         offset:          8
 # CHECK:         target:          __Z3foov
 # CHECK:   - type:            unwind-cfi
-# CHECK:     content:          
-# CHECK:     references:      
+# CHECK:     content:
+# CHECK:     references:
 # CHECK:       - kind:            negDelta32
 # CHECK:         offset:          4
 # CHECK:         target:          [[CIE]]
index 1bc9878c70872b28e46a1948a35f8bfce43de2b4..bfd8e5c815f4b7ddd01eca8696c71c099e5dcdf8 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: lld -flavor darwin -arch x86_64 -r %s -o %t  
+# RUN: lld -flavor darwin -arch x86_64 -r %s -o %t
 # RUN: lld -flavor darwin -arch x86_64 -r %t -print_atoms -o %t2 | FileCheck %s
 #
 # Test parsing of mach-o functions.
@@ -17,7 +17,7 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       4
     address:         0x0000000000000000
-    content:         [ 0xCC, 0xC3, 0x90, 0xC3, 0x90, 0x90, 0xC3, 0x90, 
+    content:         [ 0xCC, 0xC3, 0x90, 0xC3, 0x90, 0x90, 0xC3, 0x90,
                        0x90, 0x90, 0xC3, 0x90, 0x90, 0x90, 0x90, 0xC3,
                        0xCC, 0x31, 0xC0, 0xC3 ]
 local-symbols:
@@ -62,7 +62,7 @@ global-symbols:
     value:           0x0000000000000011
 ...
 
-# CHECK-NOT:  name:  
+# CHECK-NOT:  name:
 # CHECK:      content:         [ CC ]
 
 # CHECK:      name:   _myGlobal
index 40cd6109143538e3393cfc5dbbf49ab959935160..c55a0ea0a5fa1d5140625e98db8624c70a4e3a3f 100644 (file)
@@ -76,21 +76,21 @@ global-symbols:
 # CHECK:  - type:            initializer-pointer
 # CHECK:    content:         [ 00, 00, 00, 00, 00, 00, 00, 00 ]
 # CHECK:    dead-strip:      never
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:        pointer64
 # CHECK:         offset:      0
 # CHECK:         target:      _init
 # CHECK:  - type:            initializer-pointer
 # CHECK:    content:         [ 00, 00, 00, 00, 00, 00, 00, 00 ]
 # CHECK:    dead-strip:      never
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:        pointer64
 # CHECK:         offset:      0
 # CHECK:         target:      _init2
 # CHECK:  - type:            terminator-pointer
 # CHECK:    content:         [ 00, 00, 00, 00, 00, 00, 00, 00 ]
 # CHECK:    dead-strip:      never
-# CHECK:     references:      
+# CHECK:     references:
 # CHECK:       - kind:        pointer64
 # CHECK:         offset:      0
 # CHECK:         target:      _term
index be21d6efffa3efbc6d60f5d947158f352348f800..8daeeca5f654c03feb094f069c5a5da89a421436 100644 (file)
@@ -21,5 +21,5 @@ sections:
                        0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D ]
 ...
 
-# CHECK:       error: 
+# CHECK:       error:
 
index 543f52def71f9e5e849d575653f3900427c094d7..7f80ba5212b8fa6f66d366e30c76e5e23cdfdafd 100644 (file)
@@ -16,8 +16,8 @@ sections:
     attributes:      [  ]
     alignment:       1
     address:         0x0000000000000100
-    content:         [ 0x68, 0x65, 0x6C, 0x6C, 0x6F, 0x00, 0x74, 0x68, 
-                       0x65, 0x72, 0x65, 0x00, 0x77, 0x6F, 0x72, 0x6C, 
+    content:         [ 0x68, 0x65, 0x6C, 0x6C, 0x6F, 0x00, 0x74, 0x68,
+                       0x65, 0x72, 0x65, 0x00, 0x77, 0x6F, 0x72, 0x6C,
                        0x00 ]
   - segment:         __TEXT
     section:         __literal4
@@ -49,13 +49,13 @@ sections:
     attributes:      [  ]
     alignment:       1
     address:         0x0000000000000100
-    content:         [ 0x68, 0x00, 0x65, 0x00, 0x6C, 0x00, 0x6C, 0x00, 
-                       0x6F, 0x00, 0x00, 0x00, 0x74, 0x00, 0x68, 0x00, 
+    content:         [ 0x68, 0x00, 0x65, 0x00, 0x6C, 0x00, 0x6C, 0x00,
+                       0x6F, 0x00, 0x00, 0x00, 0x74, 0x00, 0x68, 0x00,
                        0x65, 0x00, 0x72, 0x00, 0x00, 0x00 ]
 ...
 
 
-# CHECK:defined-atoms:   
+# CHECK:defined-atoms:
 # CHECK:  - scope:           hidden
 # CHECK:    type:            c-string
 # CHECK:    content:         [ 68, 65, 6C, 6C, 6F, 00 ]
@@ -88,6 +88,6 @@ sections:
 # CHECK:    content:         [ 28, 29, 2A, 2B, 2C, 2D, 2E, 2F ]
 # CHECK:  - scope:           hidden
 # CHECK:    type:            const-16-byte
-# CHECK:    content:         [ 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 
+# CHECK:    content:         [ 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C,
 # CHECK:                       0D, 0E, 0F, 00 ]
 
index 3fc22ae71bfc6a7b42db81c09de89f96a78893f4..c7ce80bb42a18496d8290f9685a86c77fac6c575 100644 (file)
@@ -28,7 +28,7 @@
 #    ret
 #
 #  .data
-#_x: 
+#_x:
 #  .long _undef
 #  .long _undef+7
 #  .long _foo
@@ -42,21 +42,21 @@ arch:            x86
 file-type:       MH_OBJECT
 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
 OS:              unknown
-sections:        
+sections:
   - segment:         __TEXT
     section:         __text
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0xE8, 0xFB, 0xFF, 0xFF, 0xFF, 0xE8, 0xF8, 0xFF, 
-                       0xFF, 0xFF, 0xE8, 0x2C, 0x00, 0x00, 0x00, 0xE8, 
-                       0x29, 0x00, 0x00, 0x00, 0x66, 0xE8, 0xE8, 0xFF, 
-                       0x66, 0xE8, 0x1F, 0x00, 0x66, 0xE8, 0x1D, 0x00, 
-                       0xA1, 0x00, 0x00, 0x00, 0x00, 0xA1, 0x3C, 0x00, 
-                       0x00, 0x00, 0xA1, 0x40, 0x00, 0x00, 0x00, 0x8B, 
-                       0x80, 0x1C, 0x00, 0x00, 0x00, 0x8B, 0x80, 0x20, 
+    content:         [ 0xE8, 0xFB, 0xFF, 0xFF, 0xFF, 0xE8, 0xF8, 0xFF,
+                       0xFF, 0xFF, 0xE8, 0x2C, 0x00, 0x00, 0x00, 0xE8,
+                       0x29, 0x00, 0x00, 0x00, 0x66, 0xE8, 0xE8, 0xFF,
+                       0x66, 0xE8, 0x1F, 0x00, 0x66, 0xE8, 0x1D, 0x00,
+                       0xA1, 0x00, 0x00, 0x00, 0x00, 0xA1, 0x3C, 0x00,
+                       0x00, 0x00, 0xA1, 0x40, 0x00, 0x00, 0x00, 0x8B,
+                       0x80, 0x1C, 0x00, 0x00, 0x00, 0x8B, 0x80, 0x20,
                        0x00, 0x00, 0x00, 0xC3 ]
-    relocations:     
+    relocations:
       - offset:          0x00000037
         scattered:       true
         type:            GENERIC_RELOC_LOCAL_SECTDIFF
@@ -146,10 +146,10 @@ sections:
     type:            S_REGULAR
     attributes:      [  ]
     address:         0x000000000000003C
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 
-                       0x3B, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
+                       0x3B, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00,
                        0xB4, 0xFF, 0xFF, 0xFF, 0xB3, 0xFF, 0xFF, 0xFF ]
-    relocations:     
+    relocations:
       - offset:          0x00000014
         scattered:       true
         type:            GENERIC_RELOC_LOCAL_SECTDIFF
@@ -198,7 +198,7 @@ sections:
         pc-rel:          false
         extern:          true
         symbol:          3
-local-symbols:   
+local-symbols:
   - name:            _test
     type:            N_SECT
     sect:            1
@@ -211,7 +211,7 @@ local-symbols:
     type:            N_SECT
     sect:            2
     value:           0x000000000000003C
-undefined-symbols: 
+undefined-symbols:
   - name:            _undef
     type:            N_UNDF
     scope:           [ N_EXT ]
index 3556a5ecbcfcf4ffe50984c820d4af217f585a51..556fd52c96e1064bd4f4f55739b87f3317fe9e48 100644 (file)
@@ -16,8 +16,8 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x8B, 0x05, 0x00, 0x00, 
-                       0x00, 0x00, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x8B, 0x05, 0x00, 0x00,
+                       0x00, 0x00, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00,
                        0x5D, 0xC3 ]
     relocations:
       - offset:          0x0000000C
index 0e85401b16ac04e1099e82cdbd76d1b724a63b17..cda0b127f78b128989de3004a19b42721b97d36f 100644 (file)
@@ -13,20 +13,20 @@ sections:
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     alignment:       2
     address:         0x0000000000000000
-    content:         [ 0xFD, 0x7B, 0xBF, 0xA9, 0xFD, 0x03, 0x00, 0x91, 
-                       0xE0, 0x03, 0x1E, 0x32, 0x00, 0x00, 0x00, 0x94, 
-                       0x48, 0x01, 0x80, 0x52, 0x08, 0x00, 0x00, 0xB9, 
-                       0x02, 0x00, 0x80, 0xD2, 0x01, 0x00, 0x00, 0x90, 
-                       0x21, 0x00, 0x40, 0xF9, 0x00, 0x00, 0x00, 0x94, 
-                       0xFD, 0x7B, 0xBF, 0xA9, 0xFD, 0x03, 0x00, 0x91, 
-                       0xE0, 0x03, 0x1E, 0x32, 0x00, 0x00, 0x00, 0x94, 
-                       0x48, 0x01, 0x80, 0x52, 0x08, 0x00, 0x00, 0xB9, 
-                       0x02, 0x00, 0x80, 0xD2, 0x01, 0x00, 0x00, 0x90, 
-                       0x21, 0x00, 0x40, 0xF9, 0x00, 0x00, 0x00, 0x94, 
-                       0x3F, 0x04, 0x00, 0x71, 0x81, 0x00, 0x00, 0x54, 
-                       0x00, 0x00, 0x00, 0x94, 0xFD, 0x7B, 0xC1, 0xA8, 
-                       0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x94, 
-                       0xFD, 0x7B, 0xBF, 0xA9, 0xFD, 0x03, 0x00, 0x91, 
+    content:         [ 0xFD, 0x7B, 0xBF, 0xA9, 0xFD, 0x03, 0x00, 0x91,
+                       0xE0, 0x03, 0x1E, 0x32, 0x00, 0x00, 0x00, 0x94,
+                       0x48, 0x01, 0x80, 0x52, 0x08, 0x00, 0x00, 0xB9,
+                       0x02, 0x00, 0x80, 0xD2, 0x01, 0x00, 0x00, 0x90,
+                       0x21, 0x00, 0x40, 0xF9, 0x00, 0x00, 0x00, 0x94,
+                       0xFD, 0x7B, 0xBF, 0xA9, 0xFD, 0x03, 0x00, 0x91,
+                       0xE0, 0x03, 0x1E, 0x32, 0x00, 0x00, 0x00, 0x94,
+                       0x48, 0x01, 0x80, 0x52, 0x08, 0x00, 0x00, 0xB9,
+                       0x02, 0x00, 0x80, 0xD2, 0x01, 0x00, 0x00, 0x90,
+                       0x21, 0x00, 0x40, 0xF9, 0x00, 0x00, 0x00, 0x94,
+                       0x3F, 0x04, 0x00, 0x71, 0x81, 0x00, 0x00, 0x54,
+                       0x00, 0x00, 0x00, 0x94, 0xFD, 0x7B, 0xC1, 0xA8,
+                       0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x94,
+                       0xFD, 0x7B, 0xBF, 0xA9, 0xFD, 0x03, 0x00, 0x91,
                        0x00, 0x00, 0x00, 0x94 ]
     relocations:
       - offset:          0x00000070
@@ -107,14 +107,14 @@ sections:
     attributes:      [  ]
     alignment:       2
     address:         0x0000000000000074
-    content:         [ 0xFF, 0x9B, 0xAF, 0x80, 0x00, 0x03, 0x27, 0x00, 
-                       0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 
-                       0x10, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 
-                       0x01, 0x28, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 
+    content:         [ 0xFF, 0x9B, 0xAF, 0x80, 0x00, 0x03, 0x27, 0x00,
+                       0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
+                       0x10, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00,
+                       0x01, 0x28, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
                        0xD0, 0xFF, 0xFF, 0xFF ]
-    relocations:     
+    relocations:
       - offset:          0x00000030
         type:            ARM64_RELOC_POINTER_TO_GOT
         length:          2
@@ -127,19 +127,19 @@ sections:
     attributes:      [  ]
     alignment:       3
     address:         0x00000000000000A8
-    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                       0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 
-                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+    content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+                       0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
+                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]
-    relocations:     
+    relocations:
       - offset:          0x00000040
         type:            ARM64_RELOC_UNSIGNED
         length:          3
@@ -187,7 +187,7 @@ local-symbols:
     type:            N_SECT
     sect:            3
     value:           0x00000000000000A8
-global-symbols:  
+global-symbols:
   - name:            __Z3barv
     type:            N_SECT
     scope:           [ N_EXT ]
@@ -203,7 +203,7 @@ global-symbols:
     scope:           [ N_EXT ]
     sect:            1
     value:           0x0000000000000068
-undefined-symbols: 
+undefined-symbols:
   - name:            __Unwind_Resume
     type:            N_UNDF
     scope:           [ N_EXT ]
index 8886e52716610a9af18af1e7c61fbedd9cd31b47..eb91c5c9728f386913b38234dad442ba9bcd654e 100644 (file)
@@ -68,7 +68,7 @@ defined-atoms:
 
 # Generic x86_64 CIE:
   - type:            unwind-cfi
-    content:         [ 14, 00, 00, 00, 00, 00, 00, 00, 01, 7A, 52, 00, 
+    content:         [ 14, 00, 00, 00, 00, 00, 00, 00, 01, 7A, 52, 00,
                        01, 78, 10, 01, 10, 0C, 07, 08, 90, 01, 00, 00 ]
 
   - type:            unwind-cfi
index fee3e41d5bd5fd6226afc42535bc5288f02b4198..1383ad75b0a6859d96b1f0d787ca437ccb424151 100644 (file)
@@ -1,7 +1,7 @@
 # RUN: lld -flavor darwin -arch x86_64 -dylib %p/Inputs/bar.yaml \
 # RUN:     -install_name /usr/lib/libbar.dylib %p/Inputs/libSystem.yaml -o %t1.dylib
 # RUN: lld -flavor darwin -arch x86_64 -dylib %s -upward_library  %t1.dylib \
-# RUN:      -install_name /usr/lib/libfoo.dylib %p/Inputs/libSystem.yaml -o %t 
+# RUN:      -install_name /usr/lib/libfoo.dylib %p/Inputs/libSystem.yaml -o %t
 # RUN: llvm-objdump -private-headers %t | FileCheck %s
 #
 #
@@ -19,7 +19,7 @@ sections:
     type:            S_REGULAR
     attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
     address:         0x0000000000000000
-    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x31, 0xC0, 0x5D, 0xE9, 
+    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x31, 0xC0, 0x5D, 0xE9,
                        0x00, 0x00, 0x00, 0x00 ]
     relocations:
       - offset:          0x00000008
index 02815a4957dd3ba6a62577e9b96307c7bebb0c1a..a481a82d1588d2f2444263ea8fc8e597c97a0ac1 100644 (file)
@@ -18,7 +18,7 @@ symbols:
     SimpleType:      IMAGE_SYM_TYPE_NULL
     ComplexType:     IMAGE_SYM_DTYPE_NULL
     StorageClass:    IMAGE_SYM_CLASS_STATIC
-    SectionDefinition: 
+    SectionDefinition:
       Length:          10
       NumberOfRelocations: 1
       NumberOfLinenumbers: 0