~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/AArch64/inst-directive.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=asm -o - \
 
2
// RUN:   | FileCheck %s --check-prefix=CHECK-ASM
 
3
// RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=obj -o - \
 
4
// RUN:   | llvm-readobj -s -sd | FileCheck %s  --check-prefix=CHECK-OBJ
 
5
 
 
6
    .section    .inst.aarch64_inst
 
7
 
 
8
    .align  2
 
9
    .global aarch64_inst
 
10
    .type   aarch64_inst,%function
 
11
aarch64_inst:
 
12
    .inst 0x5e104020
 
13
 
 
14
// CHECK-ASM:        .align  2
 
15
// CHECK-ASM:        .globl  aarch64_inst
 
16
// CHECK-ASM:        .type   aarch64_inst,@function
 
17
// CHECK-ASM: aarch64_inst:
 
18
// CHECK-ASM:        .inst   0x5e104020
 
19
 
 
20
// CHECK-OBJ: Section {
 
21
// CHECK-OBJ:   Name: .inst.aarch64_inst
 
22
// CHECK-OBJ:   SectionData (
 
23
// CHECK-OBJ-NEXT: 0000: 2040105E
 
24
// CHECK-OBJ-NEXT: )