summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-01-07 23:09:09 +0000
committerDavide Italiano <davide@freebsd.org>2019-01-07 23:09:09 +0000
commitbf1fdb852f936ca7c8493c063d6f14ae552fb86f (patch)
tree918cf971f53b9552db273eec88d7920f47c2c508 /llvm/test/DebugInfo
parentc5e0c58875c668f00606fdda5cfdb91f0039e94f (diff)
downloadbcm5719-llvm-bf1fdb852f936ca7c8493c063d6f14ae552fb86f.tar.gz
bcm5719-llvm-bf1fdb852f936ca7c8493c063d6f14ae552fb86f.zip
[Verifier] Reject invalid type for DILocalVariable.
Reviewers: aprantl Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D56414 llvm-svn: 350578
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/Generic/varargs.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/Generic/varargs.ll b/llvm/test/DebugInfo/Generic/varargs.ll
index 96ad9c02ba9..c8193c05e94 100644
--- a/llvm/test/DebugInfo/Generic/varargs.ll
+++ b/llvm/test/DebugInfo/Generic/varargs.ll
@@ -95,7 +95,7 @@ attributes #1 = { nounwind readnone }
!23 = !DILocalVariable(name: "a", line: 16, scope: !14, file: !15, type: !4)
!24 = !DILocation(line: 16, scope: !14)
; Manually modifed to avoid dependence on pointer size
-!25 = !DILocalVariable(name: "fptr", line: 18, scope: !14, file: !15, type: !16)
+!25 = !DILocalVariable(name: "fptr", line: 18, scope: !14, file: !15, type: !26)
!26 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !16)
!27 = !DILocation(line: 18, scope: !14)
!28 = !DILocation(line: 22, scope: !14)
OpenPOWER on IntegriCloud