diff options
Diffstat (limited to 'test/MC/ELF/sleb.s')
-rw-r--r-- | test/MC/ELF/sleb.s | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/MC/ELF/sleb.s b/test/MC/ELF/sleb.s index 5cba5829a12b..280b42d8cac8 100644 --- a/test/MC/ELF/sleb.s +++ b/test/MC/ELF/sleb.s @@ -1,7 +1,7 @@ // RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=ELF_32 %s // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=ELF_64 %s -// RUN: llvm-mc -filetype=obj -triple i386-apple-darwin9 %s -o - | macho-dump --dump-section-data | FileCheck -check-prefix=MACHO_32 %s -// RUN: llvm-mc -filetype=obj -triple x86_64-apple-darwin9 %s -o - | macho-dump --dump-section-data | FileCheck -check-prefix=MACHO_64 %s +// RUN: llvm-mc -filetype=obj -triple i386-apple-darwin9 %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=MACHO_32 %s +// RUN: llvm-mc -filetype=obj -triple x86_64-apple-darwin9 %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=MACHO_64 %s .text foo: @@ -27,7 +27,11 @@ foo: // ELF_64: SectionData ( // ELF_64: 0000: 00017F3F 40C000BF 7FFF3F80 4081C000 // ELF_64: ) -// MACHO_32: ('section_name', '__text\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') -// MACHO_32: ('_section_data', '00017f3f 40c000bf 7fff3f80 4081c000') -// MACHO_64: ('section_name', '__text\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') -// MACHO_64: ('_section_data', '00017f3f 40c000bf 7fff3f80 4081c000') +// MACHO_32: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00) +// MACHO_32: SectionData ( +// MACHO_32: 0000: 00017F3F 40C000BF 7FFF3F80 4081C000 |...?@.....?.@...| +// MACHO_32: ) +// MACHO_64: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00) +// MACHO_64: SectionData ( +// MACHO_64: 0000: 00017F3F 40C000BF 7FFF3F80 4081C000 |...?@.....?.@...| +// MACHO_64: ) |