mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
cbafae6d33
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185135 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
405 B
LLVM
15 lines
405 B
LLVM
; RUN: llc < %s
|
|
; rdar://7759395
|
|
|
|
%0 = type { i32, i32 }
|
|
|
|
define void @t(%0*, i32, i32, i32, i32) nounwind {
|
|
tail call void @llvm.dbg.value(metadata !{%0* %0}, i64 0, metadata !0)
|
|
unreachable
|
|
}
|
|
|
|
declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
|
|
|
|
; !0 should conform to the format of DIVariable.
|
|
!0 = metadata !{i32 786689, null, metadata !"a", null, i32 0, null, i32 0, i32 0} ;
|