]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/TextAPI/ELF/ELFStub.cpp
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / TextAPI / ELF / ELFStub.cpp
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
15 ELFStub::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
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);
29 }