diff options
author | Alexander Kornienko <alexfh@google.com> | 2014-09-18 15:19:53 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2014-09-18 15:19:53 +0000 |
commit | 1aa0af2aca19950bf04e2bcfee5d1acbe57310a6 (patch) | |
tree | 07a4113a2709015fe5cd62493a3a3855a65855c6 /llvm/lib/Object/SymbolicFile.cpp | |
parent | 3ee7cdab5325494a6bb973e798d185ffc2331316 (diff) | |
download | llvm-1aa0af2aca19950bf04e2bcfee5d1acbe57310a6.zip llvm-1aa0af2aca19950bf04e2bcfee5d1acbe57310a6.tar.gz llvm-1aa0af2aca19950bf04e2bcfee5d1acbe57310a6.tar.bz2 |
Use exceptions() instead of getNumExceptions()/getExceptionType() to avoid
accesses to incorrect exception types when getExceptionSpecType() != EST_Dynamic
This fixes a crash in test/CXX/except/except.spec/template.cpp that happens in
certain build configurations.
llvm-svn: 218053
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions