• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -g -triple i686-linux-gnu -filetype asm -o - %s | FileCheck %s
2
3# 1 "reduced.S"
4# 1 "<built-in>" 1
5# 1 "reduced.S" 2
6# 200 "macros.h"
7
8 .macro return arg
9  movl %eax, \arg
10  retl
11 .endm
12
13 .macro return2 arg
14  return \arg
15 .endm
16
17# 7 "reduced.S"
18function:
19 return 0
20
21# CHECK: .file 2 "reduced.S"
22# CHECK: .loc 2 8 0
23# CHECK: movl %eax, 0
24# CHECK: .loc 2 8 0
25# CHECK: retl
26
27# 42 "reduced.S"
28function2:
29 return2 0
30
31# CHECK: .loc 2 43 0
32# CHECK: movl %eax, 0
33# CHECK: .loc 2 43 0
34# CHECK: retl
35