view test/DebugInfo/X86/asm-macro-line-number.s @ 85:5e5d649e25d2

Update LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 19 Feb 2015 15:19:25 +0900
parents 60c9769439b8
children afa8332a0e37
line wrap: on
line source

# RUN: llvm-mc -g -triple i686-linux-gnu -filetype asm -o - %s | FileCheck %s

# 1 "reduced.S"
# 1 "<built-in>" 1
# 1 "reduced.S" 2

 .macro return arg
  movl %eax, \arg
  retl
 .endm

function:
 return 0

# CHECK: .file 2 "reduced.S"
# CHECK: .loc 2 8 0
# CHECK: movl %eax, 0
# CHECK: .loc 2 8 0
# CHECK: retl