From 5244be17ac0b2c600cc95c70ec33bde568986d90 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Tue, 29 Jul 2025 13:48:01 -0400 Subject: Add support for declarative downstream dependencies to workflow system. --- plugins/rtti/plugin.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/rtti/plugin.cpp') diff --git a/plugins/rtti/plugin.cpp b/plugins/rtti/plugin.cpp index 0fbfbce2..d94be592 100644 --- a/plugins/rtti/plugin.cpp +++ b/plugins/rtti/plugin.cpp @@ -115,13 +115,16 @@ extern "C" { "eligibility": { "runOnce": true, "auto": {} + }, + "dependencies": { + "downstream": ["core.module.update"] } - })~", &VFTAnalysis, {"core.module.update"}); + })~", &VFTAnalysis); // Run rtti before debug info is applied. rttiMetaWorkflow->Insert("core.module.loadDebugInfo", "analysis.rtti.rttiAnalysis"); // Run vft after functions have analyzed (so that the virtual functions have analyzed) - rttiMetaWorkflow->Insert("core.module.deleteUnusedAutoFunctions", "analysis.rtti.vftAnalysis"); + rttiMetaWorkflow->InsertAfter("core.module.extendedAnalysis", "analysis.rtti.vftAnalysis"); Workflow::RegisterWorkflow(rttiMetaWorkflow); return true; -- cgit v1.3.1