Modified ReadAbbrevBlock to return "true' when an error is identified (instead of crashing). Propagate that error appropriately
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi David,
Can you make a test for this? At the very least the "malformed abbrev record in AST file" branch.
lib/Serialization/ASTReader.cpp | ||
---|---|---|
1344 | This should not be needed. The idea of having a diagnostic handler is that the diagnostic has to be issued only once. With this clang would be printing two errors.This one and one from the bitcode reader. |
This should not be needed. The idea of having a diagnostic handler is that the diagnostic has to be issued only once. With this clang would be printing two errors.This one and one from the bitcode reader.