From 1f5faf7f0aa1c18bb024afd37b3c7c975d4cdc34 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 19 Jun 2014 18:36:15 +0000 Subject: [PATCH] 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 --- llvm/test/MC/ELF/cfi-version.ll | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/llvm/test/MC/ELF/cfi-version.ll b/llvm/test/MC/ELF/cfi-version.ll index a06638c..dfe2c36 100644 --- a/llvm/test/MC/ELF/cfi-version.ll +++ b/llvm/test/MC/ELF/cfi-version.ll @@ -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: -- 2.7.4