reimplement Constant::ContainsRelocations as 
Constant::getRelocationInfo(), which has a much simpler
to use API.  It still should not be part of libvmcore, but
is better than it was.  Also teach it to be smart about 
hidden visibility.

llvm-svn: 76700
5 files changed
tree: 6938ad8daf6bcadd6914dcc163a1ebb7ac57d678
  1. clang/
  2. compiler-rt/
  3. llvm/