]> granicus.if.org Git - clang/commit
When constructing debug information for synthesized variables for the
authorEric Christopher <echristo@apple.com>
Thu, 6 Oct 2011 00:31:18 +0000 (00:31 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 6 Oct 2011 00:31:18 +0000 (00:31 +0000)
commitd1ab1a2dffa66a88e5215216893adcfc658d3e7e
tree8b984ca2fcc69beb864beed8dfa9e716fbc5f742
parent1cd1d74b5c376ad1e9ab5f6b87fbcc54cc816e08
When constructing debug information for synthesized variables for the
non-fragile ABI we may not be able to lay out the type and the debugger
would ignore us even if we did put in the offset. Go ahead and just
put any value there and don't look up the offset since it may not exist.

rdar://10210157

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141261 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenObjC/debug-info-crash-2.m [new file with mode: 0644]