25 lines · plain
1# RUN: llvm-mc -g -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t.642# RUN: llvm-dwarfdump -debug-info %t.64 | FileCheck -check-prefix=DEFAULTABI %s3 4# RUN: llvm-mc -g -filetype=obj -triple x86_64-pc-linux-gnux32 %s -o %t.325# RUN: llvm-dwarfdump -debug-info %t.32 | FileCheck -check-prefix=X32ABI %s6 7# This test checks the dwarf info section emitted to the output object by the8# assembler, looking at the difference between the x32 ABI and default x86-649# ABI.10 11# DEFAULTABI: addr_size = 0x0812# X32ABI: addr_size = 0x0413 14.globl _bar15_bar:16 movl $0, %eax17L1: leave18 ret19_foo:20_baz:21 nop22.data23_x: .long 124 25