You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[clang][cas] Fix crash on invalid with IncludeTreeBuilder
If an error occurs in FrontendAction::BeginSourceFile after
IncludeTreeActionController::initializeModuleBuild is called (via
BeginInvocation), the builder is left in an inconsistent state because
there is no call to finalizeModuleBuild (via HandleTranslationUnit), so
we should exit early without attempting to create an include tree for
the broken module. Fixes a crash on invalid seen with a missing module
header, but there could be other similar cases.
rdar://151878898
(cherry picked from commit 5d380b9)
0 commit comments