~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/ARM/dwarf-cfi-initial-state.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=armv7-linux-gnueabi -filetype=obj -o - \
 
2
# RUN:     | llvm-dwarfdump - | FileCheck %s
 
3
 
 
4
_proc:
 
5
.cfi_sections .debug_frame
 
6
.cfi_startproc
 
7
bx lr
 
8
.cfi_endproc
 
9
 
 
10
# CHECK: .debug_frame contents:
 
11
# CHECK: CIE
 
12
# CHECK-NOT: DW_CFA
 
13
# When llvm-dwarfdump prints the full info for the DW_CFA_def_cfa
 
14
# field, we can check that here too.
 
15
# CHECK: DW_CFA_def_cfa:
 
16
# The following 2 DW_CFA_nop instructions are "padding"
 
17
# CHECK: DW_CFA_nop:
 
18
# CHECK: DW_CFA_nop:
 
19
# CHECK-NOT: DW_CFA
 
20
# CHECK: FDE