diff options
author | Greg Clayton <gclayton@apple.com> | 2013-12-12 01:54:04 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-12-12 01:54:04 +0000 |
commit | 4705f8d842662050a88e9c0ac91ff337a5922fb6 (patch) | |
tree | 32a62947b4e12476332733a82d0cded22714e8fa /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | |
parent | 601ec50ac93643aba3c266dfc90eb4520bb15f78 (diff) | |
download | bcm5719-llvm-4705f8d842662050a88e9c0ac91ff337a5922fb6.tar.gz bcm5719-llvm-4705f8d842662050a88e9c0ac91ff337a5922fb6.zip |
LLDB can crash if given DWARF debug info for a class that has a base class which isn't a complete definition.
<rdar://problem/15594781>
We need to not crash at any cost. We currently detect if any base classes are forward declarations, emit an error string that directs the use to file a compiler bug, and continues by completing the class with no contents. This avoids a clang crash that would usually follow when we call setBase().
llvm-svn: 197108
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions