summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-06 22:47:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-06 22:47:08 +0000
commitb52d0c0d74c506c3d701cd61d03abbfa6446e274 (patch)
tree8dd5e9df040935fed92ceaeb8d74921b773ae1d0 /include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
parente7147c1b577d63fb21a623b600afeb10093e5549 (diff)
downloadllvm-b52d0c0d74c506c3d701cd61d03abbfa6446e274.tar.gz
llvm-b52d0c0d74c506c3d701cd61d03abbfa6446e274.tar.bz2
llvm-b52d0c0d74c506c3d701cd61d03abbfa6446e274.tar.xz
Remove shouldEmitUsedDirectiveFor.
Clang now uses llvm.compiler.used for these cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/TargetLoweringObjectFileImpl.h')
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
index fd4fa46f09..16fed32aa1 100644
--- a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+++ b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
@@ -102,12 +102,6 @@ public:
const MCSection *getSectionForConstant(SectionKind Kind) const override;
- /// This hook allows targets to selectively decide not to emit the
- /// UsedDirective for some symbols in llvm.used.
- /// FIXME: REMOVE this (rdar://7071300)
- bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler &Mang,
- TargetMachine &TM) const override;
-
/// The mach-o version of this method defaults to returning a stub reference.
const MCExpr *
getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding,