LLVM  10.0.0svn
ELFStub.cpp
Go to the documentation of this file.
1 //===- ELFStub.cpp --------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===-----------------------------------------------------------------------===/
8 
10 
11 using namespace llvm;
12 using namespace llvm::elfabi;
13 
14 ELFStub::ELFStub(ELFStub const &Stub) {
15  TbeVersion = Stub.TbeVersion;
16  Arch = Stub.Arch;
17  SoName = Stub.SoName;
18  NeededLibs = Stub.NeededLibs;
19  Symbols = Stub.Symbols;
20 }
21 
23  TbeVersion = std::move(Stub.TbeVersion);
24  Arch = std::move(Stub.Arch);
25  SoName = std::move(Stub.SoName);
26  NeededLibs = std::move(Stub.NeededLibs);
27  Symbols = std::move(Stub.Symbols);
28 }
std::set< ELFSymbol > Symbols
Definition: ELFStub.h:59
This class represents lattice values for constants.
Definition: AllocatorList.h:23
Optional< std::string > SoName
Definition: ELFStub.h:56
std::vector< std::string > NeededLibs
Definition: ELFStub.h:58
This file defines an internal representation of an ELF stub.
VersionTuple TbeVersion
Definition: ELFStub.h:55