mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
36a321160e
Use the MCStreamer base implementations for file ID tracking instead of overriding them as no-ops. Avoids assertions when streaming Dwarf debug info, and fixes ASM parsing of loc and file directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211282 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
392 B
ArmAsm
16 lines
392 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s -filetype=null
|
|
|
|
.file 1 "hello"
|
|
# CHECK: .file 1 "hello"
|
|
.loc 1
|
|
.loc 1 2
|
|
# CHECK: .loc 1 2 0
|
|
.loc 1 2 3
|
|
# CHECK: .loc 1 2 3
|
|
.loc 1 2 discriminator 1
|
|
# CHECK: 1 2 0 discriminator 1
|
|
.loc 1 2 0 isa 3
|
|
# CHECK: 1 2 0 isa 3
|
|
.loc 1 0
|