Don't avoid recursing for pointer types, just reference types. Expand on
authorEric Christopher <echristo@apple.com>
Wed, 11 Jan 2012 00:01:29 +0000 (00:01 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 11 Jan 2012 00:01:29 +0000 (00:01 +0000)
commitdcc296d420d064e4cedfc80abc8df6bfb0b35b03
treebd898c37ac993016ba1143cc42ef674b766d7e36
parenteab30279f7017db1bcbe38991b367d86862643ad
Don't avoid recursing for pointer types, just reference types. Expand on
the comment.

Fixes constvars.exp on the gdb test builder.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147897 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DebugInfo.cpp
test/DebugInfo/X86/pointer-type-size.ll [new file with mode: 0644]