Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_x86_64.cpp122 const MachO::relocation_info &SubRI, orc::ExecutorAddr FixupAddress, in parsePairRelocation() argument
127 assert(((SubtractorKind == MachOSubtractor32 && SubRI.r_length == 2) || in parsePairRelocation()
128 (SubtractorKind == MachOSubtractor64 && SubRI.r_length == 3)) && in parsePairRelocation()
130 assert(SubRI.r_extern && "SUBTRACTOR reloc symbol should be extern"); in parsePairRelocation()
131 assert(!SubRI.r_pcrel && "SUBTRACTOR reloc should not be PCRel"); in parsePairRelocation()
139 if (SubRI.r_address != UnsignedRI.r_address) in parsePairRelocation()
143 if (SubRI.r_length != UnsignedRI.r_length) in parsePairRelocation()
148 if (auto FromSymbolOrErr = findSymbolByIndex(SubRI.r_symbolnum)) in parsePairRelocation()
155 if (SubRI.r_length == 3) in parsePairRelocation()
183 DeltaKind = (SubRI.r_length == 3) ? x86_64::Delta64 : x86_64::Delta32; in parsePairRelocation()
[all …]
H A DMachO_arm64.cpp130 const MachO::relocation_info &SubRI, in parsePairRelocation() argument
136 assert(((SubtractorKind == MachODelta32 && SubRI.r_length == 2) || in parsePairRelocation()
137 (SubtractorKind == MachODelta64 && SubRI.r_length == 3)) && in parsePairRelocation()
139 assert(SubRI.r_extern && "SUBTRACTOR reloc symbol should be extern"); in parsePairRelocation()
140 assert(!SubRI.r_pcrel && "SUBTRACTOR reloc should not be PCRel"); in parsePairRelocation()
148 if (SubRI.r_address != UnsignedRI.r_address) in parsePairRelocation()
152 if (SubRI.r_length != UnsignedRI.r_length) in parsePairRelocation()
157 if (auto FromSymbolOrErr = findSymbolByIndex(SubRI.r_symbolnum)) in parsePairRelocation()
164 if (SubRI.r_length == 3) in parsePairRelocation()
192 DeltaKind = (SubRI.r_length == 3) ? aarch64::Delta64 : aarch64::Delta32; in parsePairRelocation()
[all …]