diff options
Diffstat (limited to 'test/tools/llvm-objdump/X86/macho-section-headers.test')
-rw-r--r-- | test/tools/llvm-objdump/X86/macho-section-headers.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/X86/macho-section-headers.test b/test/tools/llvm-objdump/X86/macho-section-headers.test new file mode 100644 index 0000000..5159d18 --- /dev/null +++ b/test/tools/llvm-objdump/X86/macho-section-headers.test @@ -0,0 +1,8 @@ +RUN: llvm-objdump -macho -h %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s + +CHECK: Sections: +CHECK: Idx Name Size Address Type +CHECK: 0 __text 0000003b 0000000000000000 TEXT +CHECK: 1 __cstring 0000000d 000000000000003b DATA +CHECK: 2 __compact_unwind 00000020 0000000000000048 DATA +CHECK: 3 __eh_frame 00000040 0000000000000068 DATA |