llvm-for-llvmta/test/MC/AsmParser/line-marker-inside-macro.s

15 lines
314 B
ArmAsm

// RUN: llvm-mc -triple i386-unknown-unknown --filetype=obj -g %s -o %t
// RUN: llvm-dwarfdump -a %t | FileCheck %s
.macro FOO
# 100 "./line-marker-inside-macro.s"
.endm
FOO
mov %eax, 0
// CHECK: 0x0000000000000000 105 0 1 0 0 is_stmt
// CHECK-NEXT: 0x0000000000000005 105 0 1 0 0 is_stmt end_sequence