aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/strtab-suffix-opt.s
blob: 96d15005c618570d5b3fd69f8c373fa4cacb48a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -symbols | FileCheck %s

	.text
	.globl	foobar
	.align	16, 0x90
	.type	foobar,@function
foobar:
	pushl	%ebp
	movl	%esp, %ebp
	subl	$8, %esp
	calll	foo
	calll	bar
	addl	$8, %esp
	popl	%ebp
	retl
.Ltmp3:
	.size	foobar, .Ltmp3-foobar

// CHECK:     Name: bar (19)
// CHECK:     Name: foo (23)
// CHECK:     Name: foobar (16)