diff options
Diffstat (limited to 'llvm/test/Linker/Inputs/subprogram-linkonce-weak.ll')
-rw-r--r-- | llvm/test/Linker/Inputs/subprogram-linkonce-weak.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Linker/Inputs/subprogram-linkonce-weak.ll b/llvm/test/Linker/Inputs/subprogram-linkonce-weak.ll index e73143dae8c..f5399e244a9 100644 --- a/llvm/test/Linker/Inputs/subprogram-linkonce-weak.ll +++ b/llvm/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: !{}) |