diff options
author | Greg Clayton <gclayton@apple.com> | 2015-05-07 00:07:44 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-05-07 00:07:44 +0000 |
commit | 28eb7bf40660288d7f4f2d512e2c6c40fee43331 (patch) | |
tree | c91aca110ad9901e249059fb42b3779bddacce13 /clang/lib/Sema/SemaStmt.cpp | |
parent | d528112b41449afaa8e53dda633d335ac09e1425 (diff) | |
download | bcm5719-llvm-28eb7bf40660288d7f4f2d512e2c6c40fee43331.tar.gz bcm5719-llvm-28eb7bf40660288d7f4f2d512e2c6c40fee43331.zip |
Don't crash if we load a file with an architecture we don't support and try to parse some DWARF.
The ClangASTContext::getTargetInfo() will return NULL in this case and could cause us to crash if we don't check.
<rdar://problem/20543554>
llvm-svn: 236681
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
0 files changed, 0 insertions, 0 deletions