CallTargets: Fix callee sorting, printing, add test.

* Print caller instruction (not just its address)
* sort/unique by pointer value to ensure no duplicates,
  then sort alphabetically for reading.
* std::unique does NOT take same comparator as std::sort,
  which was a silly mistake.  Fixed.

llvm-svn: 238449
2 files changed