diff options
author | Duncan Sands <baldrick@free.fr> | 2008-09-29 11:25:42 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-09-29 11:25:42 +0000 |
commit | eb3f45fbeb3d009f9861f3c4ff82931b8aefe239 (patch) | |
tree | 18ba793b36fe3510dc3e57d0d7156bbfe7b7af31 /lib/Target/Mips/MipsTargetAsmInfo.cpp | |
parent | c4dd589c42d58780fbe26767faf7b250332cf84d (diff) | |
download | external_llvm-eb3f45fbeb3d009f9861f3c4ff82931b8aefe239.zip external_llvm-eb3f45fbeb3d009f9861f3c4ff82931b8aefe239.tar.gz external_llvm-eb3f45fbeb3d009f9861f3c4ff82931b8aefe239.tar.bz2 |
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
Diffstat (limited to 'lib/Target/Mips/MipsTargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/Mips/MipsTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<GlobalVariable>(GV); - if (GVA && (!GVA->isWeakForLinker())) + if (GVA && (!GVA->mayBeOverridden())) switch (K) { case SectionKind::SmallData: return getSmallDataSection(); |