The tarj_end() function had never been tested and one of the methods
it used was broken. This has now been fixed:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20021202/001852.html
Note that there is already a pass that prints out the SCCs of the
CallGraph, and another one that prints SCCs of each CFG.
You can run them as
analyze -callscc
analyze -cfgscc
The passes are in llvm/lib/Analysis/PrintSCC.cpp.
--Vikram
http://www.cs.uiuc.edu/~vadve