X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2FInputs%2Fsubprogram-linkonce-weak.ll;h=f5399e244a9c3e1674e747b61631c3acc68a3b43;hb=e56023a059e5fafa97f0df32c65cf31cfc33ba17;hp=e73143dae8c6396a1e5dacd72fe88cf5d30670da;hpb=42eeb1d91f66532c2aeba272c07c0eb813c0ca95;p=oota-llvm.git diff --git a/test/Linker/Inputs/subprogram-linkonce-weak.ll b/test/Linker/Inputs/subprogram-linkonce-weak.ll index e73143dae8c..f5399e244a9 100644 --- a/test/Linker/Inputs/subprogram-linkonce-weak.ll +++ b/test/Linker/Inputs/subprogram-linkonce-weak.ll @@ -1,7 +1,7 @@ define weak i32 @foo(i32 %a, i32 %b) { entry: - %sum = call i32 @fastadd(i32 %a, i32 %b), !dbg !MDLocation(line: 52, scope: !3) - ret i32 %sum, !dbg !MDLocation(line: 53, scope: !3) + %sum = call i32 @fastadd(i32 %a, i32 %b), !dbg !DILocation(line: 52, scope: !3) + ret i32 %sum, !dbg !DILocation(line: 53, scope: !3) } declare i32 @fastadd(i32, i32) @@ -10,7 +10,7 @@ declare i32 @fastadd(i32, i32) !0 = !{i32 2, !"Debug Info Version", i32 3} !llvm.dbg.cu = !{!1} -!1 = !MDCompileUnit(language: DW_LANG_C99, file: !2, subprograms: !{!3}, emissionKind: 1) -!2 = !MDFile(filename: "foo.c", directory: "/path/to/dir") -!3 = !MDSubprogram(file: !2, scope: !2, line: 51, name: "foo", function: i32 (i32, i32)* @foo, type: !4) -!4 = !MDSubroutineType(types: !{}) +!1 = !DICompileUnit(language: DW_LANG_C99, file: !2, subprograms: !{!3}, emissionKind: 1) +!2 = !DIFile(filename: "foo.c", directory: "/path/to/dir") +!3 = !DISubprogram(file: !2, scope: !2, line: 51, name: "foo", function: i32 (i32, i32)* @foo, type: !4) +!4 = !DISubroutineType(types: !{})