mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 06:26:07 +00:00
[ELF] Delete unused forward declarations and unused DynamicReloc::getInputSec(). NFC
llvm-svn: 356239
This commit is contained in:
parent
3e0da146ac
commit
f9695e166b
@ -22,17 +22,8 @@ namespace lld {
|
||||
namespace elf {
|
||||
|
||||
struct PhdrEntry;
|
||||
class Symbol;
|
||||
struct EhSectionPiece;
|
||||
class EhInputSection;
|
||||
class InputSection;
|
||||
class InputSectionBase;
|
||||
class MergeInputSection;
|
||||
class OutputSection;
|
||||
template <class ELFT> class ObjFile;
|
||||
template <class ELFT> class SharedFile;
|
||||
class SharedSymbol;
|
||||
class Defined;
|
||||
|
||||
// This represents a section in an output file.
|
||||
// It is composed of multiple InputSections.
|
||||
|
@ -30,13 +30,6 @@ std::string toString(const elf::InputFile *);
|
||||
|
||||
namespace elf {
|
||||
|
||||
class ArchiveFile;
|
||||
class BitcodeFile;
|
||||
class BssSection;
|
||||
class InputFile;
|
||||
class LazyObjFile;
|
||||
template <class ELFT> class ObjFile;
|
||||
class OutputSection;
|
||||
template <class ELFT> class SharedFile;
|
||||
|
||||
// This is a StringRef-like container that doesn't run strlen().
|
||||
|
@ -31,7 +31,6 @@
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
class Defined;
|
||||
class SharedSymbol;
|
||||
|
||||
class SyntheticSection : public InputSection {
|
||||
public:
|
||||
@ -418,7 +417,6 @@ public:
|
||||
|
||||
uint64_t getOffset() const;
|
||||
uint32_t getSymIndex() const;
|
||||
const InputSectionBase *getInputSec() const { return InputSec; }
|
||||
|
||||
// Computes the addend of the dynamic relocation. Note that this is not the
|
||||
// same as the Addend member variable as it also includes the symbol address
|
||||
|
@ -19,8 +19,6 @@ namespace elf {
|
||||
class InputFile;
|
||||
class OutputSection;
|
||||
class InputSectionBase;
|
||||
template <class ELFT> class ObjFile;
|
||||
class SymbolTable;
|
||||
template <class ELFT> void writeResult();
|
||||
|
||||
// This describes a program header entry.
|
||||
|
Loading…
x
Reference in New Issue
Block a user