Use RelType instead of uint32_t in DynamicReloc. NFC

llvm-svn: 324821
This commit is contained in:
Alexander Richardson 2018-02-10 18:14:34 +00:00
parent 28d3a73c81
commit 59aaf1ae33
1 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ private:
class DynamicReloc {
public:
DynamicReloc(uint32_t Type, const InputSectionBase *InputSec,
DynamicReloc(RelType Type, const InputSectionBase *InputSec,
uint64_t OffsetInSec, bool UseSymVA, Symbol *Sym, int64_t Addend)
: Type(Type), Sym(Sym), InputSec(InputSec), OffsetInSec(OffsetInSec),
UseSymVA(UseSymVA), Addend(Addend) {}
@ -320,7 +320,7 @@ public:
uint32_t getSymIndex() const;
const InputSectionBase *getInputSec() const { return InputSec; }
uint32_t Type;
RelType Type;
private:
Symbol *Sym;