Relax this test a bit, we don't need the full contents of the
authorEric Christopher <echristo@gmail.com>
Thu, 19 Jun 2014 18:36:15 +0000 (18:36 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Jun 2014 18:36:15 +0000 (18:36 +0000)
frame section to match, just the version for this test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211293 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ELF/cfi-version.ll

index a06638c04e0e1d5da25abade32e5fdb471486eec..dfe2c36d550fbf95d04e2da97a2d437c21983b8e 100644 (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
 
 ; 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:
 ; 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:
 !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:
 ; DWARF2-NEXT:   Augmentation:
 
 ; DWARF34:      .debug_frame contents:
-; DWARF34: 00000000 0000000c ffffffff CIE
-; DWARF34-NEXT:   Version:               3
+; DWARF34:        Version:               3
 ; DWARF34-NEXT:   Augmentation:
 ; DWARF34-NEXT:   Augmentation: