summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-05-07 00:07:44 +0000
committerGreg Clayton <gclayton@apple.com>2015-05-07 00:07:44 +0000
commit28eb7bf40660288d7f4f2d512e2c6c40fee43331 (patch)
treec91aca110ad9901e249059fb42b3779bddacce13 /clang/lib/Sema/SemaStmt.cpp
parentd528112b41449afaa8e53dda633d335ac09e1425 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud