diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-13 11:05:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-13 11:05:31 +0200 |
commit | 3ac5998ee4d5e30a35ce7c043b9389598d7f147f (patch) | |
tree | 575ff5ab21bf21d049c9580b37301856bf91f486 /libbuild2 | |
parent | fb3a7f3343f9ee0cfd15b540a3209e438f6063eb (diff) |
Minor tracing fix and addition
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/common.cxx | 3 | ||||
-rw-r--r-- | libbuild2/file.cxx | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx index f848003..7d2fd63 100644 --- a/libbuild2/cc/common.cxx +++ b/libbuild2/cc/common.cxx @@ -819,7 +819,10 @@ namespace build2 } if (pd == nullptr) + { + l5 ([&]{trace << "no library found for " << p;}); return nullptr; + } // Enter (or find) the lib{} target group. // diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index 23bd103..def49b8 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -2586,7 +2586,7 @@ namespace build2 ns.clear (); // NULL } else - l5 ([&]{trace << "postponing " << r.first;}); + l5 ([&]{trace << "postponing " << ns.back ();}); } } |