forked from OSchip/llvm-project
[COFF] Delete unused declarations and add a missing forward declaration. NFC
llvm-svn: 356241
This commit is contained in:
parent
f9695e166b
commit
4ac6d7e4b8
|
@ -51,7 +51,6 @@ private:
|
||||||
bool equalsConstant(const SectionChunk *A, const SectionChunk *B);
|
bool equalsConstant(const SectionChunk *A, const SectionChunk *B);
|
||||||
bool equalsVariable(const SectionChunk *A, const SectionChunk *B);
|
bool equalsVariable(const SectionChunk *A, const SectionChunk *B);
|
||||||
|
|
||||||
uint32_t getHash(SectionChunk *C);
|
|
||||||
bool isEligible(SectionChunk *C);
|
bool isEligible(SectionChunk *C);
|
||||||
|
|
||||||
size_t findBoundary(size_t Begin, size_t End);
|
size_t findBoundary(size_t Begin, size_t End);
|
||||||
|
|
|
@ -99,7 +99,6 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<Archive> File;
|
std::unique_ptr<Archive> File;
|
||||||
std::string Filename;
|
|
||||||
llvm::DenseSet<uint64_t> Seen;
|
llvm::DenseSet<uint64_t> Seen;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
namespace lld {
|
namespace lld {
|
||||||
namespace coff {
|
namespace coff {
|
||||||
|
|
||||||
|
class Chunk;
|
||||||
|
|
||||||
void markLive(ArrayRef<Chunk *> Chunks);
|
void markLive(ArrayRef<Chunk *> Chunks);
|
||||||
|
|
||||||
} // namespace coff
|
} // namespace coff
|
||||||
|
|
|
@ -35,7 +35,6 @@ public:
|
||||||
void addChunk(Chunk *C);
|
void addChunk(Chunk *C);
|
||||||
void insertChunkAtStart(Chunk *C);
|
void insertChunkAtStart(Chunk *C);
|
||||||
void merge(OutputSection *Other);
|
void merge(OutputSection *Other);
|
||||||
void addPermissions(uint32_t C);
|
|
||||||
void setPermissions(uint32_t C);
|
void setPermissions(uint32_t C);
|
||||||
uint64_t getRVA() { return Header.VirtualAddress; }
|
uint64_t getRVA() { return Header.VirtualAddress; }
|
||||||
uint64_t getFileOff() { return Header.PointerToRawData; }
|
uint64_t getFileOff() { return Header.PointerToRawData; }
|
||||||
|
|
Loading…
Reference in New Issue