Fix generation of 'isa' and 'discriminator' keywords.
[oota-llvm.git] / test / MC / AsmParser / directive_loc.s
1 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=FILE
2 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=BASIC-LOC-1
3 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=BASIC-LOC-2
4 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=DISCRIMINATOR
5 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s -check-prefix=ISA
6
7         .file 1 "hello"
8 # FILE: .file 1 "hello"
9         .loc 1
10         .loc 1 2
11 # BASIC-LOC-1: .loc 1 2 0
12         .loc 1 2 3
13 # BASIC-LOC-2: .loc 1 2 3
14         .loc 1 2 discriminator 1
15 # DISCRIMINATOR: 1 2 0 discriminator 1
16         .loc 1 2 0 isa 3
17 # ISA: 1 2 0 isa 3
18         .loc 1 0