Home
last modified time | relevance | path

Searched refs:SubRI (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_x86_64.cpp124 const MachO::relocation_info &SubRI, orc::ExecutorAddr FixupAddress, in parsePairRelocation() argument
129 assert(((SubtractorKind == MachOSubtractor32 && SubRI.r_length == 2) || in parsePairRelocation()
130 (SubtractorKind == MachOSubtractor64 && SubRI.r_length == 3)) && in parsePairRelocation()
132 assert(SubRI.r_extern && "SUBTRACTOR reloc symbol should be extern"); in parsePairRelocation()
133 assert(!SubRI.r_pcrel && "SUBTRACTOR reloc should not be PCRel"); in parsePairRelocation()
141 if (SubRI.r_address != UnsignedRI.r_address) in parsePairRelocation()
145 if (SubRI.r_length != UnsignedRI.r_length) in parsePairRelocation()
150 if (auto FromSymbolOrErr = findSymbolByIndex(SubRI.r_symbolnum)) in parsePairRelocation()
157 if (SubRI.r_length == 3) in parsePairRelocation()
210 DeltaKind = (SubRI.r_length == 3) ? x86_64::Delta64 : x86_64::Delta32; in parsePairRelocation()
[all …]
H A DMachO_arm64.cpp132 const MachO::relocation_info &SubRI, in parsePairRelocation() argument
138 assert(((SubtractorKind == MachODelta32 && SubRI.r_length == 2) || in parsePairRelocation()
139 (SubtractorKind == MachODelta64 && SubRI.r_length == 3)) && in parsePairRelocation()
141 assert(SubRI.r_extern && "SUBTRACTOR reloc symbol should be extern"); in parsePairRelocation()
142 assert(!SubRI.r_pcrel && "SUBTRACTOR reloc should not be PCRel"); in parsePairRelocation()
150 if (SubRI.r_address != UnsignedRI.r_address) in parsePairRelocation()
154 if (SubRI.r_length != UnsignedRI.r_length) in parsePairRelocation()
159 if (auto FromSymbolOrErr = findSymbolByIndex(SubRI.r_symbolnum)) in parsePairRelocation()
166 if (SubRI.r_length == 3) in parsePairRelocation()
219 DeltaKind = (SubRI.r_length == 3) ? aarch64::Delta64 : aarch64::Delta32; in parsePairRelocation()
[all …]