parent
f054b8c378
commit
ca656239eb
|
|
@ -79,11 +79,6 @@ public:
|
||||||
|
|
||||||
uint8_t getVisibility() const { return StOther & 0x3; }
|
uint8_t getVisibility() const { return StOther & 0x3; }
|
||||||
|
|
||||||
unsigned DynsymIndex = 0;
|
|
||||||
uint32_t GotIndex = -1;
|
|
||||||
uint32_t GotPltIndex = -1;
|
|
||||||
uint32_t PltIndex = -1;
|
|
||||||
uint32_t GlobalDynIndex = -1;
|
|
||||||
bool isInGot() const { return GotIndex != -1U; }
|
bool isInGot() const { return GotIndex != -1U; }
|
||||||
bool isInPlt() const { return PltIndex != -1U; }
|
bool isInPlt() const { return PltIndex != -1U; }
|
||||||
template <class ELFT> bool hasThunk() const;
|
template <class ELFT> bool hasThunk() const;
|
||||||
|
|
@ -102,6 +97,12 @@ public:
|
||||||
// The file from which this symbol was created.
|
// The file from which this symbol was created.
|
||||||
InputFile *File = nullptr;
|
InputFile *File = nullptr;
|
||||||
|
|
||||||
|
unsigned DynsymIndex = 0;
|
||||||
|
uint32_t GotIndex = -1;
|
||||||
|
uint32_t GotPltIndex = -1;
|
||||||
|
uint32_t PltIndex = -1;
|
||||||
|
uint32_t GlobalDynIndex = -1;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
SymbolBody(Kind K, StringRef Name, uint8_t StOther, uint8_t Type);
|
SymbolBody(Kind K, StringRef Name, uint8_t StOther, uint8_t Type);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue