diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-07-26 20:04:30 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-07-26 20:04:30 +0000 |
commit | ce0a12399c263544bb23920131bd3da60d981b38 (patch) | |
tree | a3912ead2bd9c440acc1d6bb3d3b3df66b10fb7a /test/DebugInfo/bug_null_debuginfo.ll | |
parent | 0fc641df377bf6ea88bbc28b377f6a0810dfa220 (diff) | |
download | llvm-ce0a12399c263544bb23920131bd3da60d981b38.tar.gz llvm-ce0a12399c263544bb23920131bd3da60d981b38.tar.bz2 llvm-ce0a12399c263544bb23920131bd3da60d981b38.tar.xz |
Debug Info Verifier: enable verification of DICompileUnit.
We used to call Verify before adding DICompileUnit to the list, and now we
remove the check and always add DICompileUnit to the list in DebugInfoFinder,
so we can verify them later on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/bug_null_debuginfo.ll')
-rw-r--r-- | test/DebugInfo/bug_null_debuginfo.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/bug_null_debuginfo.ll b/test/DebugInfo/bug_null_debuginfo.ll index b17affed89..06436f9533 100644 --- a/test/DebugInfo/bug_null_debuginfo.ll +++ b/test/DebugInfo/bug_null_debuginfo.ll @@ -2,4 +2,5 @@ !llvm.dbg.cu = !{!0} -!0 = metadata !{null, null, null} +!0 = metadata !{i32 786449, metadata !1, i32 12, metadata !"", i1 false, metadata !"", i32 0, null, null, null, null, null, metadata !""} ; [ DW_TAG_compile_unit ] +!1 = metadata !{metadata !"t", metadata !""} |