Call graphs with bsd.obj.mk

Jonathan Anderson jonathan at FreeBSD.org
Thu Sep 6 10:41:42 UTC 2012


On 5 September 2012 21:54, George Neville-Neil <gnn at neville-neil.com> wrote:
> This would be great to have in the tree as a real build target.

Do you mean:
a) a manual build target for binaries and libraries (as-is),
b) an automatically-built target (for systems with llvm),
c) a top-level build target (e.g. "make callgraphs") or
d) something else entirely?

I'd be very happy to commit (a) almost immediately if there is a
consensus to do so; something like (b) would require a more careful
approach so as to not break builds on boxes/architectures that don't
have llvm-link or opt available.

Also, while (a) could be committed almost immediately, using it requires either:
 - PREFIX_TOOLS not suppressing llvm-link and opt in the bootstrap
tools dir (chasing this angle with brooks@) or
 - installing the llvm-devel port


Jon
-- 
Jonathan Anderson

jonathan at FreeBSD.org
http://freebsd.org/~jonathan/


More information about the freebsd-arch mailing list