Skip to content

Commit fd4d298

Browse files
committed
[ARM] Add targets for Arm DebugInfo tests. NFC
This prevents the instructions being invalid for the subtarget.
1 parent 7737c05 commit fd4d298

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
; Function Attrs: nounwind
8080
declare void @llvm.stackprotector(i8*, i8**) #0
8181

82-
attributes #0 = { nounwind }
82+
attributes #0 = { nounwind "target-features"="+v8m" }
8383
attributes #1 = { nounwind readnone speculatable }
8484
attributes #2 = { nounwind readnone }
8585

llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovd.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
declare void @llvm.dbg.value(metadata, metadata, metadata)
3838
declare void @llvm.stackprotector(i8*, i8**)
3939

40-
attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" }
40+
attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" "target-features"="+thumb-mode,+vfp2" }
4141

4242
!llvm.dbg.cu = !{!0}
4343
!llvm.module.flags = !{!10, !11, !12, !13, !14}

llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovs.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
declare void @llvm.dbg.value(metadata, metadata, metadata)
3232
declare void @llvm.stackprotector(i8*, i8**)
3333

34-
attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" }
34+
attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" "target-features"="+thumb-mode,+vfp2" }
3535

3636
!llvm.dbg.cu = !{!0}
3737
!llvm.module.flags = !{!10, !11, !12, !13, !14}

llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
; Function Attrs: nounwind
8181
declare void @llvm.stackprotector(i8*, i8**)
8282

83-
attributes #0 = { "frame-pointer"="all"}
83+
attributes #0 = { "frame-pointer"="all" "target-features"="+armv7-a" }
8484

8585
!llvm.dbg.cu = !{!0}
8686
!llvm.module.flags = !{!9, !10, !11, !12}

0 commit comments

Comments
 (0)