From 29b4ba0da5e5d5897d48cb33a3f2ded653aede78 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Mon, 11 Apr 2016 20:58:57 +0000 Subject: Add missing DICompileUnit to this testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265995 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/Inputs/mdlocation.ll | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Linker/Inputs') diff --git a/test/Linker/Inputs/mdlocation.ll b/test/Linker/Inputs/mdlocation.ll index 9c2f65d0a59..7ba19ffc76b 100644 --- a/test/Linker/Inputs/mdlocation.ll +++ b/test/Linker/Inputs/mdlocation.ll @@ -7,3 +7,7 @@ ; Test distinct nodes. !4 = distinct !DILocation(line: 3, column: 7, scope: !0) !5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4) + +!llvm.dbg.cu = !{!6} +!6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0}) +!7 = !DIFile(filename: "source.c", directory: "/dir") -- cgit v1.2.3