diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-05 02:09:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-05 02:09:07 +0000 |
commit | e332b823205a92ebcccf1f0892fc69de852da545 (patch) | |
tree | 14cc707606e8ba0d8c0e8bbe0d2c530fdc5edf58 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 78ab3380247882485fc7be86f5764647ba072529 (diff) | |
download | bcm5719-llvm-e332b823205a92ebcccf1f0892fc69de852da545.tar.gz bcm5719-llvm-e332b823205a92ebcccf1f0892fc69de852da545.zip |
Include namespace contexts in the virtual stack trace, so we get stuff
like this:
Stack dump:
0. using-directive.cpp:9:14: in compound statement ('{}')
1. using-directive.cpp:9:14: parsing function body 'A::B::f'
2. using-directive.cpp:7:3: parsing namespace 'A::B'
3. using-directive.cpp:5:1: parsing namespace 'A'
4. clang using-directive.cpp
Abort
for testcase like like:
namespace A {
short i;
namespace B {
long i;
void f() { <<crash>>
llvm-svn: 66123
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions