Have the DbgVariable "isArtificial" and "isObjectPointer" not
authorEric Christopher <echristo@apple.com>
Fri, 21 Sep 2012 22:18:52 +0000 (22:18 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 21 Sep 2012 22:18:52 +0000 (22:18 +0000)
commit7b451cf35613cd4dbed1cd2053464b28974571fc
treee8d15efbefd5763eb125409c4f5584e68c9602a4
parent7d4e989da972c2e9c89dad2d4e8f6ff9e1c73394
Have the DbgVariable "isArtificial" and "isObjectPointer" not
care about it being an argument variable so that we can decide
that captured block and lambda vars that don't happen to
be arguments could be an argument pointer.

Add the object pointer for one case onto the subprogram die.

rdar://12001329

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164419 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h