1 //===- ELFStub.cpp --------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===-----------------------------------------------------------------------===/
10 #include "llvm/TextAPI/ELF/ELFStub.h"
13 using namespace llvm::elfabi;
15 ELFStub::ELFStub(ELFStub const &Stub) {
16 TbeVersion = Stub.TbeVersion;
19 NeededLibs = Stub.NeededLibs;
20 Symbols = Stub.Symbols;
23 ELFStub::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);