2014-02-14 04:05:03 +08:00
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=FILE
|
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=BASIC-LOC-1
|
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=BASIC-LOC-2
|
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=DISCRIMINATOR
|
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=ISA
|
2009-08-11 12:24:50 +08:00
|
|
|
|
|
|
|
.file 1 "hello"
|
2014-02-14 04:05:03 +08:00
|
|
|
# FILE: .file 1 "hello"
|
2009-08-11 12:24:50 +08:00
|
|
|
.loc 1
|
|
|
|
.loc 1 2
|
2014-02-14 04:05:03 +08:00
|
|
|
# BASIC-LOC-1: .loc 1 2 0
|
2009-08-11 12:24:50 +08:00
|
|
|
.loc 1 2 3
|
2014-02-14 04:05:03 +08:00
|
|
|
# BASIC-LOC-2: .loc 1 2 3
|
2010-11-13 11:18:27 +08:00
|
|
|
.loc 1 2 discriminator 1
|
2014-02-14 04:05:03 +08:00
|
|
|
# DISCRIMINATOR: 1 2 0 discriminator 1
|
|
|
|
.loc 1 2 0 isa 3
|
|
|
|
# ISA: 1 2 0 isa 3
|
2013-09-27 07:37:11 +08:00
|
|
|
.loc 1 0
|