mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
[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 equalsVariable(const SectionChunk *A, const SectionChunk *B);
|
||||
|
||||
uint32_t getHash(SectionChunk *C);
|
||||
bool isEligible(SectionChunk *C);
|
||||
|
||||
size_t findBoundary(size_t Begin, size_t End);
|
||||
|
@ -99,7 +99,6 @@ public:
|
||||
|
||||
private:
|
||||
std::unique_ptr<Archive> File;
|
||||
std::string Filename;
|
||||
llvm::DenseSet<uint64_t> Seen;
|
||||
};
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
namespace lld {
|
||||
namespace coff {
|
||||
|
||||
class Chunk;
|
||||
|
||||
void markLive(ArrayRef<Chunk *> Chunks);
|
||||
|
||||
} // namespace coff
|
||||
|
@ -35,7 +35,6 @@ public:
|
||||
void addChunk(Chunk *C);
|
||||
void insertChunkAtStart(Chunk *C);
|
||||
void merge(OutputSection *Other);
|
||||
void addPermissions(uint32_t C);
|
||||
void setPermissions(uint32_t C);
|
||||
uint64_t getRVA() { return Header.VirtualAddress; }
|
||||
uint64_t getFileOff() { return Header.PointerToRawData; }
|
||||
|
Loading…
Reference in New Issue
Block a user