diff options
| author | Manman Ren <mren@apple.com> | 2013-06-28 05:43:10 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2013-06-28 05:43:10 +0000 |
| commit | 983a16c08adbeb89c34e894647d4ae08a0417481 (patch) | |
| tree | 064443222a08013d92f082ec72a34db4e400894c /llvm/test/CodeGen/Generic | |
| parent | 0a00836bb7be52daa291c681d6041300b627bc21 (diff) | |
| download | bcm5719-llvm-983a16c08adbeb89c34e894647d4ae08a0417481.tar.gz bcm5719-llvm-983a16c08adbeb89c34e894647d4ae08a0417481.zip | |
Debug Info: clean up usage of Verify.
No functionality change.
It should suffice to check the type of a debug info metadata, instead of
calling Verify. For cases where we know the type of a DI metadata, use
assert.
Also update testing cases to make them conform to the format of DI classes.
llvm-svn: 185135
Diffstat (limited to 'llvm/test/CodeGen/Generic')
| -rw-r--r-- | llvm/test/CodeGen/Generic/dbg_value.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Generic/dbg_value.ll b/llvm/test/CodeGen/Generic/dbg_value.ll index ce3364d45ed..840eeb0cbf3 100644 --- a/llvm/test/CodeGen/Generic/dbg_value.ll +++ b/llvm/test/CodeGen/Generic/dbg_value.ll @@ -10,4 +10,5 @@ define void @t(%0*, i32, i32, i32, i32) nounwind { declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone -!0 = metadata !{i32 0} ; +; !0 should conform to the format of DIVariable. +!0 = metadata !{i32 786689, null, metadata !"a", null, i32 0, null, i32 0, i32 0} ; |

