[lld] r324821 - Use RelType instead of uint32_t in DynamicReloc. NFC

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 07:21:19 PST 2018


Thanks!

Alexander Richardson via llvm-commits <llvm-commits at lists.llvm.org>
writes:

> Author: arichardson
> Date: Sat Feb 10 10:14:34 2018
> New Revision: 324821
>
> URL: http://llvm.org/viewvc/llvm-project?rev=324821&view=rev
> Log:
> Use RelType instead of uint32_t in DynamicReloc. NFC
>
> Modified:
>     lld/trunk/ELF/SyntheticSections.h
>
> Modified: lld/trunk/ELF/SyntheticSections.h
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=324821&r1=324820&r2=324821&view=diff
> ==============================================================================
> --- lld/trunk/ELF/SyntheticSections.h (original)
> +++ lld/trunk/ELF/SyntheticSections.h Sat Feb 10 10:14:34 2018
> @@ -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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list