1*b5893f02SDimitry Andric //===- ELFStub.cpp --------------------------------------------------------===//
2*b5893f02SDimitry Andric //
3*b5893f02SDimitry Andric //                     The LLVM Compiler Infrastructure
4*b5893f02SDimitry Andric //
5*b5893f02SDimitry Andric // This file is distributed under the University of Illinois Open Source
6*b5893f02SDimitry Andric // License. See LICENSE.TXT for details.
7*b5893f02SDimitry Andric //
8*b5893f02SDimitry Andric //===-----------------------------------------------------------------------===/
9*b5893f02SDimitry Andric 
10*b5893f02SDimitry Andric #include "llvm/TextAPI/ELF/ELFStub.h"
11*b5893f02SDimitry Andric 
12*b5893f02SDimitry Andric using namespace llvm;
13*b5893f02SDimitry Andric using namespace llvm::elfabi;
14*b5893f02SDimitry Andric 
ELFStub(ELFStub const & Stub)15*b5893f02SDimitry Andric ELFStub::ELFStub(ELFStub const &Stub) {
16*b5893f02SDimitry Andric   TbeVersion = Stub.TbeVersion;
17*b5893f02SDimitry Andric   Arch = Stub.Arch;
18*b5893f02SDimitry Andric   SoName = Stub.SoName;
19*b5893f02SDimitry Andric   NeededLibs = Stub.NeededLibs;
20*b5893f02SDimitry Andric   Symbols = Stub.Symbols;
21*b5893f02SDimitry Andric }
22*b5893f02SDimitry Andric 
ELFStub(ELFStub && Stub)23*b5893f02SDimitry Andric ELFStub::ELFStub(ELFStub &&Stub) {
24*b5893f02SDimitry Andric   TbeVersion = std::move(Stub.TbeVersion);
25*b5893f02SDimitry Andric   Arch = std::move(Stub.Arch);
26*b5893f02SDimitry Andric   SoName = std::move(Stub.SoName);
27*b5893f02SDimitry Andric   NeededLibs = std::move(Stub.NeededLibs);
28*b5893f02SDimitry Andric   Symbols = std::move(Stub.Symbols);
29*b5893f02SDimitry Andric }
30