Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal.
authorChris Lattner <sabre@nondot.org>
Fri, 24 Jul 2009 04:49:34 +0000 (04:49 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 24 Jul 2009 04:49:34 +0000 (04:49 +0000)
commit0f5ebf55091ac924756f84738e6140b0a1f4dcb1
treeac3e320006ca55751b89c78d907f37d006cf6505
parent3075428d16487485f39bd6d4a053da50cf83e203
Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal.
The later doesn't depend on any crazy LLVM IR stuff, and this
pulls the concatenation of prefix with GV name (the root problem behind
PR4584) out one level.

llvm-svn: 76948
llvm/include/llvm/Target/DarwinTargetAsmInfo.h
llvm/include/llvm/Target/TargetAsmInfo.h
llvm/lib/Target/DarwinTargetAsmInfo.cpp
llvm/lib/Target/ELFTargetAsmInfo.cpp
llvm/lib/Target/TargetAsmInfo.cpp
llvm/lib/Target/X86/X86TargetAsmInfo.cpp
llvm/lib/Target/X86/X86TargetAsmInfo.h