reimplement Constant::ContainsRelocations as
authorChris Lattner <sabre@nondot.org>
Wed, 22 Jul 2009 00:05:44 +0000 (00:05 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 22 Jul 2009 00:05:44 +0000 (00:05 +0000)
commit7cf12c7efd37dc12c3ed536a3f4c373dddac2b85
tree9eaf5648fd1b7eb369792e52af192cbf59dbdb0e
parent9c5beed5f5a6da5bd86c7dee6f8f803e8960e6a6
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76700 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constant.h
lib/CodeGen/MachineFunction.cpp
lib/Target/ELFTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp
lib/VMCore/Constants.cpp