]> granicus.if.org Git - clang/commit
if we die in IR generation of a compound statement, include
authorChris Lattner <sabre@nondot.org>
Thu, 5 Mar 2009 08:04:57 +0000 (08:04 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Mar 2009 08:04:57 +0000 (08:04 +0000)
commit7d22bf00dbabca86ba791f56a99e006181fa22dd
tree380e5a9cc85aeaadc7ded8a28887ea0da992e657
parent49f28ca787d8db7cac3c8898334f70ea55374c98
if we die in IR generation of a compound statement, include
it in the stack trace, giving us stuff like:

Stack dump:
0. Program arguments: clang t.c -emit-llvm
1. <eof> parser at end of file
2. t.c:1:5: LLVM IR generation of declaration 'a'
3. t.c:1:9: LLVM IR generation of compound statement ('{}')
4. t.c:2:3: LLVM IR generation of compound statement ('{}')
Abort

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66154 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp