]> granicus.if.org Git - clang/commit
Quick patch for PR2784, assert genereting debug info for opaque
authorDaniel Dunbar <daniel@zuster.org>
Fri, 17 Oct 2008 01:07:56 +0000 (01:07 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 17 Oct 2008 01:07:56 +0000 (01:07 +0000)
commit5273f514a1e8dd5f5ebd0f94d2c59f7e0e88a674
tree27244824831c143576257bf0c272238ef34872da
parentcd162ccbbf96fcdc1f62f3bb604ae4455af3a442
Quick patch for PR2784, assert genereting debug info for opaque
structure.
 - I'm not sure yet about the behavior, but this at least prevents the
   crash.

Add some asserts on RegionStack usage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/PR2784-debug-info-opaque-struct.c [new file with mode: 0644]