diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-10-10 03:22:29 +0000 | 
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-10-10 03:22:29 +0000 | 
| commit | 124bedbd50f027659b22c41b1ed0fd0bc8571f76 (patch) | |
| tree | e4ce9a23ba62fa92f0af6c9358ec2683bb97fa83 /lld/ELF/InputSection.cpp | |
| parent | 339ddd16850cf672f093b770ba064f38c3038336 (diff) | |
| download | bcm5719-llvm-124bedbd50f027659b22c41b1ed0fd0bc8571f76.tar.gz bcm5719-llvm-124bedbd50f027659b22c41b1ed0fd0bc8571f76.zip | |
Add comment to InputSectionBase::File.
This patch also moves declarations so that related declarations next
to each other.
llvm-svn: 315266
Diffstat (limited to 'lld/ELF/InputSection.cpp')
| -rw-r--r-- | lld/ELF/InputSection.cpp | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 9035e555c7a..94e81593e02 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -696,10 +696,6 @@ void InputSection::relocateNonAlloc(uint8_t *Buf, ArrayRef<RelTy> Rels) {    }  } -template <class ELFT> ObjFile<ELFT> *InputSectionBase::getFile() const { -  return cast_or_null<ObjFile<ELFT>>(File); -} -  template <class ELFT>  void InputSectionBase::relocate(uint8_t *Buf, uint8_t *BufEnd) {    if (Flags & SHF_ALLOC) { @@ -1031,11 +1027,6 @@ template void InputSection::writeTo<ELF32BE>(uint8_t *);  template void InputSection::writeTo<ELF64LE>(uint8_t *);  template void InputSection::writeTo<ELF64BE>(uint8_t *); -template ObjFile<ELF32LE> *InputSectionBase::getFile<ELF32LE>() const; -template ObjFile<ELF32BE> *InputSectionBase::getFile<ELF32BE>() const; -template ObjFile<ELF64LE> *InputSectionBase::getFile<ELF64LE>() const; -template ObjFile<ELF64BE> *InputSectionBase::getFile<ELF64BE>() const; -  template MergeInputSection::MergeInputSection(ObjFile<ELF32LE> *,                                                const ELF32LE::Shdr *, StringRef);  template MergeInputSection::MergeInputSection(ObjFile<ELF32BE> *, | 

