mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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
This commit is contained in:
@@ -68,14 +68,6 @@ public:
|
||||
ArrayRef<Module::ModuleFlagEntry> Flags,
|
||||
Mangler &Mang, const TargetMachine &TM) const {}
|
||||
|
||||
/// This hook allows targets to selectively decide not to emit the
|
||||
/// UsedDirective for some symbols in llvm.used.
|
||||
/// FIXME: REMOVE this (rdar://7071300)
|
||||
virtual bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler &Mang,
|
||||
TargetMachine &TM) const {
|
||||
return GV != 0;
|
||||
}
|
||||
|
||||
/// Given a constant with the SectionKind, return a section that it should be
|
||||
/// placed in.
|
||||
virtual const MCSection *getSectionForConstant(SectionKind Kind) const;
|
||||
|
||||
Reference in New Issue
Block a user