Mercurial > hg > CbC > CbC_llvm
comparison test/Linker/DbgDeclare2.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
3 ; RUN: true | 3 ; RUN: true |
4 | 4 |
5 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-S128" | 5 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-S128" |
6 target triple = "x86_64-apple-macosx10.9.0" | 6 target triple = "x86_64-apple-macosx10.9.0" |
7 | 7 |
8 define void @test(i32 %argc, i8** %argv) uwtable ssp { | 8 define void @test(i32 %argc, i8** %argv) uwtable ssp !dbg !5 { |
9 entry: | 9 entry: |
10 %argc.addr = alloca i32, align 4 | 10 %argc.addr = alloca i32, align 4 |
11 %argv.addr = alloca i8**, align 8 | 11 %argv.addr = alloca i8**, align 8 |
12 %i = alloca i32, align 4 | 12 %i = alloca i32, align 4 |
13 store i32 %argc, i32* %argc.addr, align 4 | 13 store i32 %argc, i32* %argc.addr, align 4 |
51 !llvm.module.flags = !{!27} | 51 !llvm.module.flags = !{!27} |
52 | 52 |
53 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 173515)", isOptimized: true, emissionKind: 0, file: !25, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2) | 53 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 173515)", isOptimized: true, emissionKind: 0, file: !25, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2) |
54 !2 = !{} | 54 !2 = !{} |
55 !3 = !{!5} | 55 !3 = !{!5} |
56 !5 = distinct !DISubprogram(name: "print_args", linkageName: "test", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 5, file: !26, scope: null, type: !7, function: void (i32, i8**)* @test, variables: !2) | 56 !5 = distinct !DISubprogram(name: "print_args", linkageName: "test", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 5, file: !26, scope: null, type: !7, variables: !2) |
57 !6 = !DIFile(filename: "test.cpp", directory: "/private/tmp") | 57 !6 = !DIFile(filename: "test.cpp", directory: "/private/tmp") |
58 !7 = !DISubroutineType(types: !8) | 58 !7 = !DISubroutineType(types: !8) |
59 !8 = !{null, !9, !10} | 59 !8 = !{null, !9, !10} |
60 !9 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) | 60 !9 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) |
61 !10 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !11) | 61 !10 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !11) |