I checked this patch on my own build on RHEL 6. Regressions were OK.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
LGTM
2015/11/03 16:48 "Eugene Zelenko" <eugene.zelenko@gmail.com>:
Eugene.Zelenko created this revision.
Eugene.Zelenko added a reviewer: ruiu.
Eugene.Zelenko added a subscriber: llvm-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.I checked this patch on my own build on RHEL 6. Regressions were OK.
Repository:
rL LLVMhttp://reviews.llvm.org/D14310
Files:
ELF/OutputSections.h lib/ReaderWriter/MachO/SectCreateFile.hIndex: lib/ReaderWriter/MachO/SectCreateFile.h
- lib/ReaderWriter/MachO/SectCreateFile.h
+++ lib/ReaderWriter/MachO/SectCreateFile.h
@@ -23,7 +23,6 @@
//
class SectCreateFile : public File {
public:
- class SectCreateAtom : public SimpleDefinedAtom { public: SectCreateAtom(const File &file, StringRef segName, StringRef
sectName,
@@ -68,19 +67,19 @@new (allocator()) SectCreateAtom(*this, seg, sect,std::move(content)));
}
- const AtomVector<DefinedAtom> &defined() const {
+ const AtomVector<DefinedAtom> &defined() const override {
return _definedAtoms; }
- const AtomVector<UndefinedAtom> &undefined() const {
+ const AtomVector<UndefinedAtom> &undefined() const override {
return _noUndefinedAtoms; }
- const AtomVector<SharedLibraryAtom> &sharedLibrary() const {
+ const AtomVector<SharedLibraryAtom> &sharedLibrary() const override {
return _noSharedLibraryAtoms; }
- const AtomVector<AbsoluteAtom> &absolute() const {
+ const AtomVector<AbsoluteAtom> &absolute() const override {
return _noAbsoluteAtoms; }Index: ELF/OutputSections.h
- ELF/OutputSections.h
+++ ELF/OutputSections.h
@@ -247,7 +247,7 @@
class InterpSection final : public OutputSectionBase<ELFT> {
public:InterpSection();
- void writeTo(uint8_t *Buf);
+ void writeTo(uint8_t *Buf) override;
};template <class ELFT>
@@ -385,6 +385,8 @@
template <class ELFT> StringTableSection<ELFT> *Out<ELFT>::StrTab;
template <class ELFT> SymbolTableSection<ELFT> *Out<ELFT>::DynSymTab;
template <class ELFT> SymbolTableSection<ELFT> *Out<ELFT>::SymTab;
-}
-}
-#endif
+
+} namespace elf2
+} namespace lld
+
+#endif // LLD_ELF_OUTPUT_SECTIONS_H