From eb3f45fbeb3d009f9861f3c4ff82931b8aefe239 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 29 Sep 2008 11:25:42 +0000 Subject: Rename isWeakForLinker to mayBeOverridden. Use it instead of hasWeakLinkage in a bunch of optimization passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56782 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsTargetAsmInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/Mips/MipsTargetAsmInfo.cpp') diff --git a/lib/Target/Mips/MipsTargetAsmInfo.cpp b/lib/Target/Mips/MipsTargetAsmInfo.cpp index 4d2881e..0df6249 100644 --- a/lib/Target/Mips/MipsTargetAsmInfo.cpp +++ b/lib/Target/Mips/MipsTargetAsmInfo.cpp @@ -85,7 +85,7 @@ SelectSectionForGlobal(const GlobalValue *GV) const { SectionKind::Kind K = SectionKindForGlobal(GV); const GlobalVariable *GVA = dyn_cast(GV); - if (GVA && (!GVA->isWeakForLinker())) + if (GVA && (!GVA->mayBeOverridden())) switch (K) { case SectionKind::SmallData: return getSmallDataSection(); -- cgit v1.1