1 ; Test that compiling with fentry and debuginfo works.
3 ; RUN: llc %s -mtriple=s390x-linux-gnu -o - -verify-machineinstrs
5 define dso_local void @_Z1av() local_unnamed_addr #0 !dbg !7 {
10 attributes #0 = { norecurse nounwind readnone "fentry-call"="true" }
13 !llvm.module.flags = !{!3, !4}
15 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !1, producer: "clang version 12.0.0", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, splitDebugInlining: false, nameTableKind: None)
16 !1 = !DIFile(filename: "a.cpp", directory: "/tmp")
18 !3 = !{i32 7, !"Dwarf Version", i32 4}
19 !4 = !{i32 2, !"Debug Info Version", i32 3}
20 !7 = distinct !DISubprogram(name: "a", linkageName: "_Z1av", scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !2)
21 !8 = !DISubroutineType(types: !9)