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

15 lines
314 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// 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