Home | History | Annotate | Download | only in RuntimeDyld

Lines Matching defs:Value

88                                          uint64_t Value) {
90 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
96 uint64_t Value,
109 << " Value: " << format("%p", Value)
122 (uintptr_t)Value,
131 (uintptr_t)Value,
141 (uintptr_t)Value,
152 uint64_t Value,
158 Value -= FinalAddress + 4; // see resolveX86_64Relocation
165 uint64_t ValueToWrite = Value + Addend;
181 uint64_t Value,
186 // If the relocation is PC-relative, the value to be encoded is the
189 // FIXME: It seems this value needs to be adjusted by 4 for an effective PC
191 Value -= FinalAddress + 4;
202 Value += Addend;
203 // Mask in the target value a byte at a time (we don't have an alignment
207 *p++ = (uint8_t)Value;
208 Value >>= 8;
222 uint64_t Value,
227 // If the relocation is PC-relative, the value to be encoded is the
230 Value -= FinalAddress;
234 Value -= 8;
241 // Mask in the target value a byte at a time (we don't have an alignment
245 *p++ = (uint8_t)Value;
246 Value >>= 8;
251 // Mask the value into the target address. We know instructions are
254 // The low two bits of the value are not encoded.
255 Value >>= 2;
256 // Mask the value to 24 bits.
257 Value &= 0xffffff;
262 // Insert the value into the instruction.
263 *p = (*p & ~0xffffff) | Value;
290 RelocationValueRef Value;
311 Value.SectionID = lsi->second.first;
312 Value.Addend = lsi->second.second + Addend;
317 Value.SectionID = gsi->second.first;
318 Value.Addend = gsi->second.second + Addend;
320 Value.SymbolName = TargetName.data();
321 Value.Addend = Addend;
326 Value.SectionID = findOrEmitSection(Obj, Sec, true, ObjSectionToID);
329 Value.Addend = Addend - Addr;
335 StubMap::const_iterator i = Stubs.find(Value);
340 Stubs[Value] = Section.StubOffset;
343 macho::RIT_X86_64_Unsigned, Value.Addend - 4, false,
345 if (Value.SymbolName)
346 addRelocationForSymbol(RE, Value.SymbolName);
348 addRelocationForSection(RE, Value.SectionID);
359 StubMap::const_iterator i = Stubs.find(Value);
366 Stubs[Value] = Section.StubOffset;
370 macho::RIT_Vanilla, Value.Addend);
371 if (Value.SymbolName)
372 addRelocationForSymbol(RE, Value.SymbolName);
374 addRelocationForSection(RE, Value.SectionID);
381 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend,
383 if (Value.SymbolName)
384 addRelocationForSymbol(RE, Value.SymbolName);
386 addRelocationForSection(RE, Value.SectionID);