HomePhabricator

clang/Modules: Add missing diagnostics for malformed AST files

Authored by dexonsmith on Nov 10 2019, 11:07 AM.

Description

clang/Modules: Add missing diagnostics for malformed AST files

These were found via an audit. In the case of ParseLineTable this is
actually dead code, since parsing the line table always succeeds, but
it's prudent to be defensive since it's possible an assertion there
could be converted to a true return in the future.

(cherry picked from commit 8e2c192e2af8c760152ba3b28e774dbb1548e4aa)

Details

Committed
dexonsmithNov 12 2019, 9:03 AM
Parents
rG5a5a2980ec4c: clang/Modules: Split loop in ReadAST between failable and not
Branches
Unknown
Tags
Unknown