~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/ARM/directive-thumb_func.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: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null %s 2>&1 \
 
2
@ RUN:    | FileCheck %s -check-prefix CHECK-EABI
 
3
 
 
4
@ NOTE: this test ensures that both forms are accepted for MachO
 
5
@ RUN: llvm-mc -triple armv7-darwin -filetype asm -o /dev/null %s
 
6
 
 
7
        .syntax unified
 
8
 
 
9
        .thumb_func
 
10
no_suffix:
 
11
        bx lr
 
12
 
 
13
        .thumb_func suffix
 
14
suffix:
 
15
        bx lr
 
16
 
 
17
// CHECK-EABI: error: unexpected token in directive
 
18
// CHECK-EABI:  .thumb_func suffix
 
19
// CHECK-EABI:              ^
 
20
 
 
21
// CHECK-EABI-NOT: error: invalid instruction
 
22