aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/X86/macho-symbol-table.test
blob: 5b9a4f849763a428040e6d964e31c360d54fa697 (plain)
1
2
3
4
5
6
7
8
RUN: llvm-objdump -macho -t %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s

CHECK: SYMBOL TABLE:
CHECK: 000000000000003b l     F __TEXT,__cstring	0000000d L_.str
CHECK: 0000000000000068 l     F __TEXT,__eh_frame	00000018 EH_frame0
CHECK: 0000000000000000 g     F __TEXT,__text	0000003b _main
CHECK: 0000000000000080 g     F __TEXT,__eh_frame	00000028 _main.eh
CHECK: 0000000000000000         *UND*	00000000 _printf