~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/Mips/cfi.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=mips-unknown-unknown -show-encoding -mcpu=mips32 | \
 
2
# RUN:     FileCheck %s
 
3
# RUN: llvm-mc %s -triple=mips64-unknown-unknown -show-encoding -mcpu=mips64 | \
 
4
# RUN:     FileCheck %s
 
5
 
 
6
# Check that we can accept register names in CFI directives and that they are
 
7
# canonicalised to their DWARF register numbers.
 
8
 
 
9
        .cfi_startproc         # CHECK: .cfi_startproc
 
10
        .cfi_register   $6, $5 # CHECK: .cfi_register 6, 5
 
11
        .cfi_def_cfa    $fp, 8 # CHECK: .cfi_def_cfa 30, 8
 
12
        .cfi_def_cfa    $2, 16 # CHECK: .cfi_def_cfa 2, 16
 
13
        .cfi_endproc           # CHECK: .cfi_endproc