1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -fast-isel -mtriple=x86_64-- < %s | FileCheck %s
3 ; RUN: llc --try-experimental-debuginfo-iterators -O0 -fast-isel -mtriple=x86_64-- < %s | FileCheck %s
8 ; CHECK-NEXT: jmp set_state@PLT # TAILCALL
9 tail call void @set_state()
10 call void @llvm.dbg.value(metadata i64 0, metadata !10, metadata !DIExpression()), !dbg !16
14 declare void @set_state()
16 ; Function Attrs: nofree nosync nounwind readnone speculatable willreturn
17 declare void @llvm.dbg.value(metadata, metadata, metadata) #0
19 attributes #0 = { nofree nosync nounwind readnone speculatable willreturn }
21 !llvm.module.flags = !{!0}
24 !0 = !{i32 2, !"Debug Info Version", i32 3}
25 !1 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !2, producer: "clang LLVM (rustc version 1.60.0-nightly (ec4bcaac4 2022-01-15))", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !3)
26 !2 = !DIFile(filename: "src/lib.rs/@/bug.63e521cd-cgu.0", directory: "/tmp/rust-bug")
28 !4 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Option", file: !5, baseType: !6, size: 8, align: 8, flags: DIFlagEnumClass, elements: !7)
29 !5 = !DIFile(filename: "<unknown>", directory: "")
30 !6 = !DIBasicType(name: "u8", size: 8, encoding: DW_ATE_unsigned)
32 !8 = !DIEnumerator(name: "None", value: 0)
33 !9 = !DIEnumerator(name: "Some", value: 1)
34 !10 = !DILocalVariable(name: "msg", arg: 2, scope: !11, file: !12, line: 689, type: !6)
35 !11 = distinct !DISubprogram(name: "expect<()>", linkageName: "_ZN4core6option15Option$LT$T$GT$6expect17h9a574c18f194c213E", scope: !4, file: !12, line: 689, type: !13, scopeLine: 689, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !1, templateParams: !15, retainedNodes: !15)
36 !12 = !DIFile(filename: "/rustc/ec4bcaac450279b029f3480b8b8f1b82ab36a5eb/library/core/src/option.rs", directory: "", checksumkind: CSK_MD5, checksum: "4120c8557937a0772190a676ec193800")
37 !13 = !DISubroutineType(types: !14)
40 !16 = !DILocation(line: 0, scope: !11)