From eacf7f7ccd40a56d1fe761d3d30ced6c6acd58da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Nov 2018 13:00:16 +0200 Subject: Add support for rule-specific variables, use to fix cc.type data race --- build2/dump.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'build2/dump.hxx') diff --git a/build2/dump.hxx b/build2/dump.hxx index 74ecbe7..e9a3b30 100644 --- a/build2/dump.hxx +++ b/build2/dump.hxx @@ -8,15 +8,19 @@ #include #include +#include + namespace build2 { class scope; class target; - // Dump the build state to diag_stream. + // Dump the build state to diag_stream. If action is specified, then assume + // rules have been matched for this action and dump action-specific + // information (like rule-specific variables). // void - dump (); + dump (optional = nullopt); void dump (const scope&, const char* ind = ""); -- cgit v1.1