[rtems-tools commit] toolkit: Print dependents in resolver.
Chris Johns
chrisj at rtems.org
Sun Nov 30 21:30:50 UTC 2014
Module: rtems-tools
Branch: master
Commit: efae4ae5c6b9a8825e03ede8d942073c191a81ef
Changeset: http://git.rtems.org/rtems-tools/commit/?id=efae4ae5c6b9a8825e03ede8d942073c191a81ef
Author: Chris Johns <chrisj at rtems.org>
Date: Sat Nov 8 18:00:28 2014 +1100
toolkit: Print dependents in resolver.
---
rtemstoolkit/rld-resolver.cpp | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/rtemstoolkit/rld-resolver.cpp b/rtemstoolkit/rld-resolver.cpp
index e837af1..d9f42b6 100644
--- a/rtemstoolkit/rld-resolver.cpp
+++ b/rtemstoolkit/rld-resolver.cpp
@@ -237,6 +237,21 @@ namespace rld
object.unresolved_symbols (),
object.name ().full ());
}
+
+ if (rld::verbose () >= RLD_VERBOSE_INFO)
+ {
+ std::cout << "resolver:resolving: dependents: "
+ << dependents.size () << std::endl;
+ int count = 1;
+ for (files::object_list::iterator di = dependents.begin ();
+ di != dependents.end ();
+ ++di)
+ {
+ files::object& obj = *(*di);
+ std::cout << std::setw (3) << count++
+ << ": " << obj.name ().basename () << std::endl;
+ }
+ }
}
}
More information about the vc
mailing list