1 # RUN: llvm-objdump -m -d %p/Inputs/hello.obj.macho-x86_64 -no-show-raw-insn -print-imm-hex -no-leading-addr | FileCheck %s
3 # CHECK: (__TEXT,__text) section
6 # CHECK: movq %rsp, %rbp
7 # CHECK: subq $0x20, %rsp
8 # CHECK: leaq L_.str(%rip), %rax ## literal pool for: "Hello world\n"
9 # CHECK: movl $_main, -0x4(%rbp)
10 # CHECK: movl %edi, -0x8(%rbp)
11 # CHECK: movq %rsi, -0x10(%rbp)
12 # CHECK: movq %rdx, -0x18(%rbp)
13 # CHECK: movq %rax, %rdi
14 # CHECK: movb $0x0, %al
15 # CHECK: callq _printf
16 # CHECK: movl $_main, %ecx
17 # CHECK: movl %eax, -0x1c(%rbp)
18 # CHECK: movl %ecx, %eax
19 # CHECK: addq $0x20, %rsp
24 # CHECK-NOT: 0000000000000000