From: Shoaib Meenai Date: Fri, 19 Jul 2019 17:19:57 +0000 (+0000) Subject: [llvm-lipo] Remove trailing whitespace. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ba7dc2a75bbedf178099a8bfd5f9af6a5b555f1;p=llvm [llvm-lipo] Remove trailing whitespace. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366595 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-lipo/Inputs/arm64-slice.yaml b/test/tools/llvm-lipo/Inputs/arm64-slice.yaml index 5dfd4502738..9375d28344f 100644 --- a/test/tools/llvm-lipo/Inputs/arm64-slice.yaml +++ b/test/tools/llvm-lipo/Inputs/arm64-slice.yaml @@ -1,5 +1,5 @@ --- !mach-o -FileHeader: +FileHeader: magic: 0xFEEDFACF cputype: 0x0100000C cpusubtype: 0x00000000 @@ -8,7 +8,7 @@ FileHeader: sizeofcmds: 352 flags: 0x00002000 reserved: 0x00000000 -LoadCommands: +LoadCommands: - cmd: LC_SEGMENT_64 cmdsize: 232 segname: '' @@ -20,7 +20,7 @@ LoadCommands: initprot: 7 nsects: 2 flags: 0 - Sections: + Sections: - sectname: __text segname: __TEXT addr: 0x0000000000000000 @@ -75,8 +75,8 @@ LoadCommands: nextrel: 0 locreloff: 0 nlocrel: 0 -LinkEditData: - NameList: +LinkEditData: + NameList: - n_strx: 13 n_type: 0x0E n_sect: 1 @@ -92,7 +92,7 @@ LinkEditData: n_sect: 1 n_desc: 0 n_value: 0 - StringTable: + StringTable: - '' - _main - ltmp1 diff --git a/test/tools/llvm-lipo/Inputs/armv7-slice.yaml b/test/tools/llvm-lipo/Inputs/armv7-slice.yaml index b2606293145..46c6e58c9c1 100644 --- a/test/tools/llvm-lipo/Inputs/armv7-slice.yaml +++ b/test/tools/llvm-lipo/Inputs/armv7-slice.yaml @@ -1,5 +1,5 @@ --- !mach-o -FileHeader: +FileHeader: magic: 0xFEEDFACE cputype: 0x0000000C cpusubtype: 0x00000009 @@ -7,7 +7,7 @@ FileHeader: ncmds: 4 sizeofcmds: 244 flags: 0x00002000 -LoadCommands: +LoadCommands: - cmd: LC_SEGMENT cmdsize: 124 segname: '' @@ -19,7 +19,7 @@ LoadCommands: initprot: 7 nsects: 1 flags: 0 - Sections: + Sections: - sectname: __text segname: __TEXT addr: 0x0000000000000000 @@ -62,14 +62,14 @@ LoadCommands: nextrel: 0 locreloff: 0 nlocrel: 0 -LinkEditData: - NameList: +LinkEditData: + NameList: - n_strx: 1 n_type: 0x0F n_sect: 1 n_desc: 8 n_value: 0 - StringTable: + StringTable: - '' - _main - '' diff --git a/test/tools/llvm-lipo/Inputs/i386-slice.yaml b/test/tools/llvm-lipo/Inputs/i386-slice.yaml index 57d50890de4..15e62206e95 100644 --- a/test/tools/llvm-lipo/Inputs/i386-slice.yaml +++ b/test/tools/llvm-lipo/Inputs/i386-slice.yaml @@ -1,5 +1,5 @@ --- !mach-o -FileHeader: +FileHeader: magic: 0xFEEDFACE cputype: 0x00000007 cpusubtype: 0x00000003 @@ -7,7 +7,7 @@ FileHeader: ncmds: 4 sizeofcmds: 312 flags: 0x00002000 -LoadCommands: +LoadCommands: - cmd: LC_SEGMENT cmdsize: 192 segname: '' @@ -19,7 +19,7 @@ LoadCommands: initprot: 7 nsects: 2 flags: 0 - Sections: + Sections: - sectname: __text segname: __TEXT addr: 0x0000000000000000 @@ -74,14 +74,14 @@ LoadCommands: nextrel: 0 locreloff: 0 nlocrel: 0 -LinkEditData: - NameList: +LinkEditData: + NameList: - n_strx: 1 n_type: 0x0F n_sect: 1 n_desc: 0 n_value: 0 - StringTable: + StringTable: - '' - _main - '' diff --git a/test/tools/llvm-lipo/Inputs/i386-x86_64-universal.yaml b/test/tools/llvm-lipo/Inputs/i386-x86_64-universal.yaml index 037ffad81c7..8155d186bc7 100644 --- a/test/tools/llvm-lipo/Inputs/i386-x86_64-universal.yaml +++ b/test/tools/llvm-lipo/Inputs/i386-x86_64-universal.yaml @@ -1,8 +1,8 @@ --- !fat-mach-o -FatHeader: +FatHeader: magic: 0xCAFEBABE nfat_arch: 2 -FatArchs: +FatArchs: - cputype: 0x00000007 cpusubtype: 0x00000003 offset: 0x0000000000001000 @@ -13,9 +13,9 @@ FatArchs: offset: 0x0000000000002000 size: 488 align: 12 -Slices: +Slices: - !mach-o - FileHeader: + FileHeader: magic: 0xFEEDFACE cputype: 0x00000007 cpusubtype: 0x00000003 @@ -23,7 +23,7 @@ Slices: ncmds: 4 sizeofcmds: 312 flags: 0x00002000 - LoadCommands: + LoadCommands: - cmd: LC_SEGMENT cmdsize: 192 segname: '' @@ -35,7 +35,7 @@ Slices: initprot: 7 nsects: 2 flags: 0 - Sections: + Sections: - sectname: __text segname: __TEXT addr: 0x0000000000000000 @@ -90,19 +90,19 @@ Slices: nextrel: 0 locreloff: 0 nlocrel: 0 - LinkEditData: - NameList: + LinkEditData: + NameList: - n_strx: 1 n_type: 0x0F n_sect: 1 n_desc: 0 n_value: 0 - StringTable: + StringTable: - '' - _main - '' - !mach-o - FileHeader: + FileHeader: magic: 0xFEEDFACF cputype: 0x01000007 cpusubtype: 0x00000003 @@ -111,7 +111,7 @@ Slices: sizeofcmds: 352 flags: 0x00002000 reserved: 0x00000000 - LoadCommands: + LoadCommands: - cmd: LC_SEGMENT_64 cmdsize: 232 segname: '' @@ -123,7 +123,7 @@ Slices: initprot: 7 nsects: 2 flags: 0 - Sections: + Sections: - sectname: __text segname: __TEXT addr: 0x0000000000000000 @@ -178,14 +178,14 @@ Slices: nextrel: 0 locreloff: 0 nlocrel: 0 - LinkEditData: - NameList: + LinkEditData: + NameList: - n_strx: 1 n_type: 0x0F n_sect: 1 n_desc: 0 n_value: 0 - StringTable: + StringTable: - '' - _main - '' diff --git a/test/tools/llvm-lipo/Inputs/x86_64-slice.yaml b/test/tools/llvm-lipo/Inputs/x86_64-slice.yaml index 27db6d7a131..5b059bb5a1b 100644 --- a/test/tools/llvm-lipo/Inputs/x86_64-slice.yaml +++ b/test/tools/llvm-lipo/Inputs/x86_64-slice.yaml @@ -1,5 +1,5 @@ --- !mach-o -FileHeader: +FileHeader: magic: 0xFEEDFACF cputype: 0x01000007 cpusubtype: 0x00000003 @@ -8,7 +8,7 @@ FileHeader: sizeofcmds: 352 flags: 0x00002000 reserved: 0x00000000 -LoadCommands: +LoadCommands: - cmd: LC_SEGMENT_64 cmdsize: 232 segname: '' @@ -20,7 +20,7 @@ LoadCommands: initprot: 7 nsects: 2 flags: 0 - Sections: + Sections: - sectname: __text segname: __TEXT addr: 0x0000000000000000 @@ -75,14 +75,14 @@ LoadCommands: nextrel: 0 locreloff: 0 nlocrel: 0 -LinkEditData: - NameList: +LinkEditData: + NameList: - n_strx: 1 n_type: 0x0F n_sect: 1 n_desc: 0 n_value: 0 - StringTable: + StringTable: - '' - _main - '' diff --git a/test/tools/llvm-lipo/verify-arch-macho-binary.test b/test/tools/llvm-lipo/verify-arch-macho-binary.test index 1c0a7b8c93a..4ab3e59d0d9 100644 --- a/test/tools/llvm-lipo/verify-arch-macho-binary.test +++ b/test/tools/llvm-lipo/verify-arch-macho-binary.test @@ -4,7 +4,7 @@ # RUN: llvm-lipo %t --verify_arch i386 # RUN: not llvm-lipo %t -verify_arch aarch64 -# RUN: not llvm-lipo %t -verify_arch aarch64 i386 +# RUN: not llvm-lipo %t -verify_arch aarch64 i386 # INVALID_ARCH: Invalid architecture: aarch101 # RUN: not llvm-lipo %t -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s @@ -20,7 +20,7 @@ # RUN: not llvm-lipo %t %t -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_INPUT_OBJ %s --- !mach-o -FileHeader: +FileHeader: magic: 0xFEEDFACE cputype: 0x00000007 cpusubtype: 0x00000003