[PATCH] D13615: [lld][elf2] Local Dynamic TLS
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 13:54:11 PDT 2015
On 13 October 2015 at 16:51, Rui Ueyama <ruiu at google.com> wrote:
> ruiu added inline comments.
>
> ================
> Comment at: ELF/Target.cpp:372
> @@ -360,2 +371,3 @@
> +int MipsTargetInfo::relocNeedsGot(uint32_t Type, const SymbolBody &S) const {
> return false;
> }
> ----------------
> rafael wrote:
>> Please update this. Depending on false -> 0 is just bad.
>>
>> You probably also want to rename the function.
> I don't think we need to return int in the first place as the number of got slots a symbol needs can be inferred from the symbol type, as I wrote in the review comment.
Even better if so :-)
Cheers,
Rafael
More information about the llvm-commits
mailing list