mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
565a460434
Add missing `!dbg` attachments to `@llvm.dbg.*` intrinsics. I updated these using a script (add-dbg-to-intrinsics.sh) that I'll attach to PR22778 for posterity. llvm-svn: 235040
15 lines
487 B
LLVM
15 lines
487 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, metadata !MDExpression()), !dbg !MDLocation(scope: !MDSubprogram())
|
|
unreachable
|
|
}
|
|
|
|
declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
|
|
|
|
; !0 should conform to the format of DIVariable.
|
|
!0 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "a", arg: 0, scope: !MDSubprogram())
|