summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/rc.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-02-25 16:54:03 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-03-10 16:28:59 +0100
commit16fc9bf6c065f8a6adeaf55e4b418edfb9de1f38 (patch)
treebe9ac34fa70a3d7f46889646fcbf85e39d9c4719 /src/other_tools/just_mr/rc.cpp
parent01c2c8c0a48f6e1c9dc3882220fd68e72f8204a6 (diff)
downloadjustbuild-16fc9bf6c065f8a6adeaf55e4b418edfb9de1f38.tar.gz
Support graph options in invocation logging
Diffstat (limited to 'src/other_tools/just_mr/rc.cpp')
-rw-r--r--src/other_tools/just_mr/rc.cpp10
1 files changed, 10 insertions, 0 deletions
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