OSDN Git Service

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)
commit55acc6807f3349228afac27fa1a11cecd11c51b5
treee22b3633fcfb89cfbf836ac8bbb4879235ca0ef3
parent837f3323729f91be2d62b4074fedafd7fb1ce451
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76948 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/DarwinTargetAsmInfo.h
include/llvm/Target/TargetAsmInfo.h
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/ELFTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.h