summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/DarwinTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-24 04:49:34 +0000
committerChris Lattner <sabre@nondot.org>2009-07-24 04:49:34 +0000
commit0f5ebf55091ac924756f84738e6140b0a1f4dcb1 (patch)
treeac3e320006ca55751b89c78d907f37d006cf6505 /llvm/lib/Target/DarwinTargetAsmInfo.cpp
parent3075428d16487485f39bd6d4a053da50cf83e203 (diff)
downloadbcm5719-llvm-0f5ebf55091ac924756f84738e6140b0a1f4dcb1.tar.gz
bcm5719-llvm-0f5ebf55091ac924756f84738e6140b0a1f4dcb1.zip
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
Diffstat (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/DarwinTargetAsmInfo.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp
index bc2189e1ef0..0ea9bd16661 100644
--- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp
+++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp
@@ -204,9 +204,3 @@ DarwinTargetAsmInfo::getSectionForMergableConstant(uint64_t Size,
return ReadOnlySection; // .const
}
-std::string
-DarwinTargetAsmInfo::UniqueSectionForGlobal(const GlobalValue* GV,
- SectionKind::Kind kind) const {
- llvm_unreachable("Darwin does not use unique sections");
- return "";
-}
OpenPOWER on IntegriCloud