projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DI/Verifier: Fix argument bitrot in DILocalVariable
[oota-llvm.git]
/
test
/
Assembler
/
invalid-dilocalvariable-arg-negative.ll
diff --git
a/test/Assembler/invalid-dilocalvariable-arg-negative.ll
b/test/Assembler/invalid-dilocalvariable-arg-negative.ll
index 08e370a36660ca71a46d28ab399b8cd875f4703d..ff90d66fa112ffd78d7327936a70bdcd8e4ba3e7 100644
(file)
--- a/
test/Assembler/invalid-dilocalvariable-arg-negative.ll
+++ b/
test/Assembler/invalid-dilocalvariable-arg-negative.ll
@@
-1,6
+1,7
@@
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
-!0 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 0)
+!0 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 1)
+!1 = !DILocalVariable(tag: DW_TAG_auto_variable, scope: !{}, arg: 0)
; CHECK: <stdin>:[[@LINE+1]]:66: error: expected unsigned integer
; CHECK: <stdin>:[[@LINE+1]]:66: error: expected unsigned integer
-!
1
= !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: -1)
+!
2
= !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: -1)