summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lld/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h b/lld/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h
index 98cbd36808e..90d37274aeb 100644
--- a/lld/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h
+++ b/lld/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h
@@ -19,15 +19,12 @@ class AMDGPUTargetLayout;
class AMDGPUTargetRelocationHandler final : public TargetRelocationHandler {
public:
- AMDGPUTargetRelocationHandler(AMDGPUTargetLayout &layout)
- : _targetLayout(layout) {}
+ AMDGPUTargetRelocationHandler(AMDGPUTargetLayout &layout) { }
std::error_code applyRelocation(ELFWriter &, llvm::FileOutputBuffer &,
const AtomLayout &,
const Reference &) const override;
-private:
- AMDGPUTargetLayout &_targetLayout;
};
} // elf
} // lld
OpenPOWER on IntegriCloud