The ScanInstance is a local variable in DependencyScanningAction::runInvocation() that is referenced by ModuleDepCollector. Since D132405, ModuleDepCollector can escape the function and can outlive its ScanInstance. This patch fixes that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo