[PATCH] D136066: [ARM] Specify Triple in DebugInfo Tests
Sam Elliott via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 1 07:52:40 PDT 2022
lenary updated this revision to Diff 472300.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136066/new/
https://reviews.llvm.org/D136066
Files:
llvm/test/DebugInfo/ARM/bitfield.ll
llvm/test/DebugInfo/ARM/float-args.ll
llvm/test/DebugInfo/ARM/split-complex.ll
Index: llvm/test/DebugInfo/ARM/split-complex.ll
===================================================================
--- llvm/test/DebugInfo/ARM/split-complex.ll
+++ llvm/test/DebugInfo/ARM/split-complex.ll
@@ -1,8 +1,5 @@
-; XFAIL: aarch64-pc-windows-msvc
-; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
+; RUN: llc -mtriple=thumbv7-apple-unknown-macho -O0 -filetype=obj -o %t.o %s
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
-target datalayout = "e-m:o-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
-target triple = "thumbv7-apple-unknown-macho"
; generated from (-triple thumbv7-apple-unknown-macho -Os):
; void f(_Complex double c) { c = 0; }
Index: llvm/test/DebugInfo/ARM/float-args.ll
===================================================================
--- llvm/test/DebugInfo/ARM/float-args.ll
+++ llvm/test/DebugInfo/ARM/float-args.ll
@@ -1,5 +1,5 @@
-; RUN: %llc_dwarf -filetype=obj -mattr=+vfp2 -float-abi=hard < %s | llvm-dwarfdump -debug-info - | FileCheck %s
-; RUN: %llc_dwarf -filetype=obj -mattr=-vfp2 -float-abi=soft < %s | llvm-dwarfdump -debug-info - | FileCheck %s
+; RUN: llc -mtriple=armv7--none-eabi -filetype=obj -mattr=+vfp2 -float-abi=hard < %s | llvm-dwarfdump -debug-info - | FileCheck %s
+; RUN: llc -mtriple=armv7--none-eabi -filetype=obj -mattr=-vfp2 -float-abi=soft < %s | llvm-dwarfdump -debug-info - | FileCheck %s
; Generated by clang -O1 -g from the following C source:
; float foo(float p) {
@@ -12,9 +12,6 @@
; CHECK: 0x{{[0-9a-f]*}}: DW_TAG_formal_parameter
; CHECK-NEXT: DW_AT_location
-target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
-target triple = "armv7--none-eabi"
-
define float @foo(float %p) !dbg !4 {
entry:
tail call void @llvm.dbg.value(metadata float %p, metadata !9, metadata !15), !dbg !16
Index: llvm/test/DebugInfo/ARM/bitfield.ll
===================================================================
--- llvm/test/DebugInfo/ARM/bitfield.ll
+++ llvm/test/DebugInfo/ARM/bitfield.ll
@@ -1,4 +1,4 @@
-; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
+; RUN: llc -mtriple=thumbv7-apple-ios -O0 -filetype=obj -o %t.o %s
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
;
; Generated from:
@@ -14,9 +14,6 @@
; CHECK: DW_AT_bit_size {{.*}} (0x1c)
; CHECK: DW_AT_bit_offset {{.*}} (0xfffffffffffffff8)
; CHECK: DW_AT_data_member_location {{.*}} (DW_OP_plus_uconst 0x0)
-source_filename = "test/DebugInfo/ARM/bitfield.ll"
-target datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"
-target triple = "thumbv7-apple-ios"
%struct.anon = type { i8, [5 x i8] }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136066.472300.patch
Type: text/x-patch
Size: 2650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221101/e3ebdf83/attachment.bin>
More information about the llvm-commits
mailing list