1 # RUN: llvm-mc -g -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t.64 2 # RUN: llvm-dwarfdump -debug-dump=info %t.64 | FileCheck -check-prefix=DEFAULTABI %s 3 4 # RUN: llvm-mc -g -filetype=obj -triple x86_64-pc-linux-gnux32 %s -o %t.32 5 # RUN: llvm-dwarfdump -debug-dump=info %t.32 | FileCheck -check-prefix=X32ABI %s 6 7 # This test checks the dwarf info section emitted to the output object by the 8 # assembler, looking at the difference between the x32 ABI and default x86-64 9 # ABI. 10 11 # DEFAULTABI: addr_size = 0x08 12 # X32ABI: addr_size = 0x04 13 14 .globl _bar 15 _bar: 16 movl $0, %eax 17 L1: leave 18 ret 19 _foo: 20 _baz: 21 nop 22 .data 23 _x: .long 1 24 25