diff options
| author | Davide Italiano <davide@freebsd.org> | 2019-01-07 23:09:09 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2019-01-07 23:09:09 +0000 |
| commit | bf1fdb852f936ca7c8493c063d6f14ae552fb86f (patch) | |
| tree | 918cf971f53b9552db273eec88d7920f47c2c508 /llvm/test/DebugInfo/Generic | |
| parent | c5e0c58875c668f00606fdda5cfdb91f0039e94f (diff) | |
| download | bcm5719-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/Generic')
| -rw-r--r-- | llvm/test/DebugInfo/Generic/varargs.ll | 2 |
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) |

