diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-03-04 18:51:19 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-03-04 18:51:19 +0000 |
| commit | addf8ebd971b5f8edaff856563960f737c5b9cfb (patch) | |
| tree | 58156f8280e62e337297ab4117c7ab4fbc52e993 /lld/lib/ReaderWriter/ELF/DefaultLayout.h | |
| parent | 46a43556db23edb514f190cc03b0ce7f68d40534 (diff) | |
| download | bcm5719-llvm-addf8ebd971b5f8edaff856563960f737c5b9cfb.tar.gz bcm5719-llvm-addf8ebd971b5f8edaff856563960f737c5b9cfb.zip | |
Remove "inline" from inlined functions.
llvm-svn: 231271
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/DefaultLayout.h')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/DefaultLayout.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/lld/lib/ReaderWriter/ELF/DefaultLayout.h b/lld/lib/ReaderWriter/ELF/DefaultLayout.h index f92c7d5c222..06b8e1631c9 100644 --- a/lld/lib/ReaderWriter/ELF/DefaultLayout.h +++ b/lld/lib/ReaderWriter/ELF/DefaultLayout.h @@ -221,25 +221,22 @@ public: void assignFileOffsetsForMiscSections(); - /// Inline functions - inline range<AbsoluteAtomIterT> absoluteAtoms() { return _absoluteAtoms; } + range<AbsoluteAtomIterT> absoluteAtoms() { return _absoluteAtoms; } - inline void addSection(Chunk<ELFT> *c) { - _sections.push_back(c); - } + void addSection(Chunk<ELFT> *c) { _sections.push_back(c); } - inline void finalize() { + void finalize() { ScopedTask task(getDefaultDomain(), "Finalize layout"); for (auto &si : _sections) si->finalize(); } - inline void doPreFlight() { + void doPreFlight() { for (auto &si : _sections) si->doPreFlight(); } - inline const AtomLayout *findAtomLayoutByName(StringRef name) const override { + const AtomLayout *findAtomLayoutByName(StringRef name) const override { for (auto sec : _sections) if (auto section = dyn_cast<Section<ELFT>>(sec)) if (auto *al = section->findAtomLayoutByName(name)) @@ -247,19 +244,19 @@ public: return nullptr; } - inline void setHeader(ELFHeader<ELFT> *elfHeader) { _elfHeader = elfHeader; } + void setHeader(ELFHeader<ELFT> *elfHeader) { _elfHeader = elfHeader; } - inline void setProgramHeader(ProgramHeader<ELFT> *p) { + void setProgramHeader(ProgramHeader<ELFT> *p) { _programHeader = p; } - inline range<OutputSectionIter> outputSections() { return _outputSections; } + range<OutputSectionIter> outputSections() { return _outputSections; } - inline range<ChunkIter> sections() { return _sections; } + range<ChunkIter> sections() { return _sections; } - inline range<SegmentIter> segments() { return _segments; } + range<SegmentIter> segments() { return _segments; } - inline ELFHeader<ELFT> *getHeader() { return _elfHeader; } + ELFHeader<ELFT> *getHeader() { return _elfHeader; } bool hasDynamicRelocationTable() const { return !!_dynamicRelocationTable; } |

