We normally add checks on the architecture independent Expr instead of on the architecture dependent relocation type.
Diff Detail
Diff Detail
 Differential  D41686  
Simplify mips gprel handling ClosedPublic Authored by • espindola on Jan 2 2018, 4:35 PM. 
Details 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 3 2018, 4:03 AM 
Revision Contents 
Diff 128477 ELF/Relocations.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We can drop this paragraph now,