From 16fc9bf6c065f8a6adeaf55e4b418edfb9de1f38 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 25 Feb 2025 16:54:03 +0100 Subject: Support graph options in invocation logging --- src/other_tools/just_mr/rc.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/other_tools/just_mr/rc.cpp') diff --git a/src/other_tools/just_mr/rc.cpp b/src/other_tools/just_mr/rc.cpp index 401510f9..6bfda2c5 100644 --- a/src/other_tools/just_mr/rc.cpp +++ b/src/other_tools/just_mr/rc.cpp @@ -610,6 +610,16 @@ namespace { if (metadata->IsString()) { clargs->invocation_log.metadata = metadata->String(); } + auto graph_file = + invocation_log->Get("--dump-graph", Expression::none_t{}); + if (graph_file->IsString()) { + clargs->invocation_log.graph_file = graph_file->String(); + } + auto graph_file_plain = + invocation_log->Get("--dump-plain-graph", Expression::none_t{}); + if (graph_file_plain->IsString()) { + clargs->invocation_log.graph_file = graph_file_plain->String(); + } } } // read config lookup order -- cgit v1.2.3