Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 823dd62

Browse files
committed
Use RelType instead of uint32_t in DynamicReloc. NFC
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@324821 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent aaa0801 commit 823dd62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ELF/SyntheticSections.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class StringTableSection final : public SyntheticSection {
310310

311311
class DynamicReloc {
312312
public:
313-
DynamicReloc(uint32_t Type, const InputSectionBase *InputSec,
313+
DynamicReloc(RelType Type, const InputSectionBase *InputSec,
314314
uint64_t OffsetInSec, bool UseSymVA, Symbol *Sym, int64_t Addend)
315315
: Type(Type), Sym(Sym), InputSec(InputSec), OffsetInSec(OffsetInSec),
316316
UseSymVA(UseSymVA), Addend(Addend) {}
@@ -320,7 +320,7 @@ class DynamicReloc {
320320
uint32_t getSymIndex() const;
321321
const InputSectionBase *getInputSec() const { return InputSec; }
322322

323-
uint32_t Type;
323+
RelType Type;
324324

325325
private:
326326
Symbol *Sym;

0 commit comments

Comments
 (0)