xref: /llvm-project/llvm/test/tools/gold/X86/Inputs/linkonce-weak.ll (revision 2c864551df3945f50e1780b2f2c880ec358ae715)
1target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
2
3define weak_odr void @f() !dbg !4 {
4  ret void, !dbg !10
5}
6
7!llvm.dbg.cu = !{!0}
8!llvm.module.flags = !{!7, !8}
9!llvm.ident = !{!9}
10
11!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
12!1 = !DIFile(filename: "linkonce-weak.c", directory: ".")
13!2 = !{}
14!4 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: true, unit: !0, retainedNodes: !2)
15!5 = !DISubroutineType(types: !6)
16!6 = !{null}
17!7 = !{i32 2, !"Dwarf Version", i32 4}
18!8 = !{i32 2, !"Debug Info Version", i32 3}
19!9 = !{!"clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)"}
20!10 = !DILocation(line: 2, column: 1, scope: !4)
21