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 | 08d91178e9ae469e933212f9a5f7ee7cf89a03d5 (patch) | |
tree | b25ef555131d566a703bbee15fb2820852dda6b7 /llvm/lib/Target/DarwinTargetAsmInfo.cpp | |
parent | be4fc9b9fb57e6d39e2b3847539ed6c5a492aa93 (diff) | |
download | bcm5719-llvm-08d91178e9ae469e933212f9a5f7ee7cf89a03d5.tar.gz bcm5719-llvm-08d91178e9ae469e933212f9a5f7ee7cf89a03d5.zip |
Rename isWeakForLinker to mayBeOverridden. Use it
instead of hasWeakLinkage in a bunch of optimization
passes.
llvm-svn: 56782
Diffstat (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/DarwinTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp index 7de89003656..0e4b09adfef 100644 --- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp +++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp @@ -73,7 +73,7 @@ DarwinTargetAsmInfo::emitUsedDirectiveFor(const GlobalValue* GV, const Section* DarwinTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const { SectionKind::Kind Kind = SectionKindForGlobal(GV); - bool isWeak = GV->isWeakForLinker(); + bool isWeak = GV->mayBeOverridden(); bool isNonStatic = (DTM->getRelocationModel() != Reloc::Static); switch (Kind) { |