forked from OSchip/llvm-project
Remove unused private fields from r215544 to appease buildbots.
llvm-svn: 215547
This commit is contained in:
parent
5f86aaa27b
commit
0a5eb23bbd
|
@ -21,8 +21,7 @@ template <class ELFT> class AArch64TargetLayout;
|
|||
class AArch64TargetRelocationHandler final
|
||||
: public TargetRelocationHandler<AArch64ELFType> {
|
||||
public:
|
||||
AArch64TargetRelocationHandler(AArch64TargetLayout<AArch64ELFType> &layout)
|
||||
: _tlsSize(0), _AArch64Layout(layout) {}
|
||||
AArch64TargetRelocationHandler() {}
|
||||
|
||||
std::error_code applyRelocation(ELFWriter &, llvm::FileOutputBuffer &,
|
||||
const lld::AtomLayout &,
|
||||
|
@ -31,11 +30,6 @@ public:
|
|||
virtual int64_t relocAddend(const Reference &) const;
|
||||
|
||||
static const Registry::KindStrings kindStrings[];
|
||||
|
||||
private:
|
||||
// Cached size of the TLS segment.
|
||||
mutable uint64_t _tlsSize;
|
||||
AArch64TargetLayout<AArch64ELFType> &_AArch64Layout;
|
||||
};
|
||||
|
||||
} // end namespace elf
|
||||
|
|
|
@ -20,7 +20,7 @@ AArch64TargetHandler::AArch64TargetHandler(AArch64LinkingContext &context)
|
|||
: DefaultTargetHandler(context), _context(context),
|
||||
_AArch64TargetLayout(new AArch64TargetLayout<AArch64ELFType>(context)),
|
||||
_AArch64RelocationHandler(
|
||||
new AArch64TargetRelocationHandler(*_AArch64TargetLayout.get())) {}
|
||||
new AArch64TargetRelocationHandler()) {}
|
||||
|
||||
void AArch64TargetHandler::registerRelocationNames(Registry ®istry) {
|
||||
registry.addKindTable(Reference::KindNamespace::ELF,
|
||||
|
|
Loading…
Reference in New Issue