1; Test that compiling with fentry and debuginfo works. 2; 3; RUN: llc %s -mtriple=s390x-linux-gnu -o - -verify-machineinstrs 4 5define dso_local void @_Z1av() local_unnamed_addr #0 !dbg !7 { 6entry: 7 ret void 8} 9 10attributes #0 = { norecurse nounwind readnone "fentry-call"="true" } 11 12!llvm.dbg.cu = !{!0} 13!llvm.module.flags = !{!3, !4} 14 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") 17!2 = !{} 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) 22!9 = !{null} 23