Devang Patel | 6ddbb2e | 2011-08-04 19:44:28 +0000 | [diff] [blame] | 1 | ; This file is used by 2011-08-04-Metadata.ll, so it doesn't actually do anything itself |
| 2 | ; |
| 3 | ; RUN: true |
| 4 | |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 5 | source_filename = "test/Linker/2011-08-04-Metadata2.ll" |
Devang Patel | 6ddbb2e | 2011-08-04 19:44:28 +0000 | [diff] [blame] | 6 | target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" |
| 7 | target triple = "x86_64-apple-macosx10.7.0" |
| 8 | |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 9 | @x = internal global i32 0, align 4, !dbg !0 |
Devang Patel | 6ddbb2e | 2011-08-04 19:44:28 +0000 | [diff] [blame] | 10 | |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 11 | ; Function Attrs: nounwind ssp uwtable |
| 12 | define void @bar() #0 !dbg !8 { |
Devang Patel | 6ddbb2e | 2011-08-04 19:44:28 +0000 | [diff] [blame] | 13 | entry: |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 14 | store i32 1, i32* @x, align 4, !dbg !11 |
| 15 | ret void, !dbg !11 |
Devang Patel | 6ddbb2e | 2011-08-04 19:44:28 +0000 | [diff] [blame] | 16 | } |
| 17 | |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 18 | attributes #0 = { nounwind ssp uwtable } |
Devang Patel | 6ddbb2e | 2011-08-04 19:44:28 +0000 | [diff] [blame] | 19 | |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 20 | !llvm.dbg.cu = !{!2} |
| 21 | !llvm.module.flags = !{!7} |
| 22 | |
Adrian Prantl | 0578221 | 2017-08-30 18:06:51 +0000 | [diff] [blame] | 23 | !0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression()) |
Adrian Prantl | 1eadba1 | 2016-12-22 00:45:21 +0000 | [diff] [blame] | 24 | !1 = !DIGlobalVariable(name: "x", scope: !2, file: !3, line: 1, type: !6, isLocal: true, isDefinition: true) |
| 25 | !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 3.0 ()", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !4, globals: !5) |
| 26 | !3 = !DIFile(filename: "/tmp/two.c", directory: "/Volumes/Lalgate/Slate/D") |
| 27 | !4 = !{} |
| 28 | !5 = !{!0} |
| 29 | !6 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) |
| 30 | !7 = !{i32 1, !"Debug Info Version", i32 3} |
| 31 | !8 = distinct !DISubprogram(name: "bar", scope: !3, file: !3, line: 2, type: !9, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, unit: !2) |
| 32 | !9 = !DISubroutineType(types: !10) |
| 33 | !10 = !{null} |
| 34 | !11 = !DILocation(line: 2, column: 14, scope: !12) |
| 35 | !12 = distinct !DILexicalBlock(scope: !8, file: !3, line: 2, column: 12) |
| 36 | |