search for: arect

Displaying 1 result from an estimated 1 matches for "arect".

Did you mean: rect
2019 Feb 08
2
Scope for DILocalVariables describing parameters?
...of the DISubprogram? I added a check to the IR verifier and an assertion to DIBuilder::createParameterVariable() that verify this. This resulted in one test case, DebugInfo/X86/double-declare.ll, failing when running check-all: parameter requires subprogram scope !7 = !DILocalVariable(name: "aRect", arg: 1, scope: !8, file: !1, line: 38, type: !11) !8 = distinct !DILexicalBlock(scope: !9, file: !1, line: 38) However, if I rerun the clang command mentioned in the referenced PR (PR33157), the parameter's scope becomes the subprogram: !68 = !DILocalVariable(name: "aRect", a...