xref: /llvm-project/llvm/test/tools/dsymutil/Inputs/inline.ll (revision 786cf76f434d2691878067dedb8b1eb99472810b)
1; ModuleID = '/tmp/t.c'
2source_filename = "/tmp/t.c"
3target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
4
5; Function Attrs: noinline nounwind optnone ssp uwtable(sync)
6define void @f() #0 !dbg !9 {
7entry:
8  ret void, !dbg !14
9}
10
11attributes #0 = { noinline nounwind optnone ssp uwtable(sync) }
12
13!llvm.dbg.cu = !{!0}
14!llvm.module.flags = !{!2, !3, !4, !5, !6, !7}
15!llvm.ident = !{!8}
16
17!0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang version 18.0.0git (git@github.com:llvm/llvm-project.git 29ee66f4a0967e43a035f147c960743c7b640f2f)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: Apple, sysroot: "/")
18!1 = !DIFile(filename: "/INLINE/inlined.c", directory: "/Volumes/Data/llvm-project", checksumkind: CSK_MD5, checksum: "3183154a5cb31debe9a8e27ca500bc3c")
19!2 = !{i32 7, !"Dwarf Version", i32 5}
20!3 = !{i32 2, !"Debug Info Version", i32 3}
21!4 = !{i32 1, !"wchar_size", i32 4}
22!5 = !{i32 8, !"PIC Level", i32 2}
23!6 = !{i32 7, !"uwtable", i32 1}
24!7 = !{i32 7, !"frame-pointer", i32 1}
25!8 = !{!"clang version 18.0.0git (git@github.com:llvm/llvm-project.git 29ee66f4a0967e43a035f147c960743c7b640f2f)"}
26!9 = distinct !DISubprogram(name: "f", scope: !10, file: !10, line: 2, type: !11, scopeLine: 2, spFlags: DISPFlagDefinition, unit: !0)
27!10 = !DIFile(filename: "/INLINE/inlined.c", directory: "", source: "void stop();
28void f() {
29  // This is inline source code.
30}
31")
32!11 = !DISubroutineType(types: !12)
33!12 = !{null}
34!14 = !DILocation(line: 4, column: 1, scope: !9)
35