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