diff options
Diffstat (limited to 'llvm/tools/llvm-objcopy/Object.h')
-rw-r--r-- | llvm/tools/llvm-objcopy/Object.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/tools/llvm-objcopy/Object.h b/llvm/tools/llvm-objcopy/Object.h index c7939b4a498..48de0e543a0 100644 --- a/llvm/tools/llvm-objcopy/Object.h +++ b/llvm/tools/llvm-objcopy/Object.h @@ -584,7 +584,6 @@ private: using SecPtr = std::unique_ptr<SectionBase>; using SegPtr = std::unique_ptr<Segment>; - std::shared_ptr<MemoryBuffer> OwnedData; std::vector<SecPtr> Sections; std::vector<SegPtr> Segments; @@ -617,10 +616,6 @@ public: StringTableSection *SectionNames = nullptr; SymbolTableSection *SymbolTable = nullptr; - explicit Object(std::shared_ptr<MemoryBuffer> Data) - : OwnedData(std::move(Data)) {} - virtual ~Object() = default; - void sortSections(); SectionTableRef sections() { return SectionTableRef(Sections); } ConstRange<SectionBase> sections() const { |