Relax this test a bit, we don't need the full contents of the

frame section to match, just the version for this test.

llvm-svn: 211293
This commit is contained in:
Eric Christopher 2014-06-19 18:36:15 +00:00
parent f637790102
commit 1f5faf7f0a
1 changed files with 2 additions and 7 deletions

View File

@ -2,9 +2,6 @@
; RUN: llc %s -o - -dwarf-version 3 -filetype=obj | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF34
; RUN: llc %s -o - -dwarf-version 4 -filetype=obj | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF34
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
target triple = "armv8-arm-none-eabi"
; Function Attrs: nounwind
define i32 @foo() #0 {
entry:
@ -37,11 +34,9 @@ attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n
!12 = metadata !{i32 2, i32 0, metadata !4, null}
; DWARF2: .debug_frame contents:
; DWARF2: 00000000 0000000c ffffffff CIE
; DWARF2-NEXT: Version: 1
; DWARF2: Version: 1
; DWARF2-NEXT: Augmentation:
; DWARF34: .debug_frame contents:
; DWARF34: 00000000 0000000c ffffffff CIE
; DWARF34-NEXT: Version: 3
; DWARF34: Version: 3
; DWARF34-NEXT: Augmentation: