22 lines · plain
1// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj --symbols - | FileCheck %s2 3 .text4 .globl foobar5 .align 16, 0x906 .type foobar,@function7foobar:8 pushl %ebp9 movl %esp, %ebp10 subl $8, %esp11 calll foo12 calll bar13 addl $8, %esp14 popl %ebp15 retl16.Ltmp3:17 .size foobar, .Ltmp3-foobar18 19// CHECK: Name: foobar (11)20// CHECK: Name: foo (18)21// CHECK: Name: bar (14)22