LLVM  8.0.1
ELFStub.cpp
Go to the documentation of this file.
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 
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 
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 }
std::set< ELFSymbol > Symbols
Definition: ELFStub.h:60
This class represents lattice values for constants.
Definition: AllocatorList.h:24
Optional< std::string > SoName
Definition: ELFStub.h:57
std::vector< std::string > NeededLibs
Definition: ELFStub.h:59
This file defines an internal representation of an ELF stub.
VersionTuple TbeVersion
Definition: ELFStub.h:56