search for: irelative

Displaying 1 result from an estimated 1 matches for "irelative".

Did you mean: relative
2012 Sep 21
1
[LLVMdev] relocation visitor
...elocations are R_X86_64_64: S + A R_X86_64_PC32: S + A - P so my thinking was that a client class could define functions that provide values for A,B,P,S,etc., and then we break down visiting a relocations down to calls to those functions. Those which really can't be implemented generically (IRELATIVE?) should be pure virtual in the RelocationVisitor and force the subclasses to implement their own. The visitor could then build up an exact integer if it knows all the relevant facts (has a concrete integer for the address of symbols, etc.), or it could build up an MCExpr, or it could build up a C...