[lld] r250555 - [ELF2] getLocalRelTarget should handle R_PPC64_TOC directly

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 15:25:28 PDT 2015


>> You can get the type with
>>
>>  RI.getType(IsMips64EL)
>>
>> Why the extra argument?
>
> I either need to pass Type or IsMips64EL, right?

you can do

bool IsMips64EL =  File.getObj().isMips64EL();

/me so wishes mips would fix their ELF variant.

Cheers,
Rafael


More information about the llvm-commits mailing list