Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DMachO_x86_64.cpp122 const MachO::relocation_info &SubRI, JITTargetAddress 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 …]
DMachO_arm64.cpp103 const MachO::relocation_info &SubRI, in parsePairRelocation() argument
109 assert(((SubtractorKind == Delta32 && SubRI.r_length == 2) || in parsePairRelocation()
110 (SubtractorKind == Delta64 && SubRI.r_length == 3)) && in parsePairRelocation()
112 assert(SubRI.r_extern && "SUBTRACTOR reloc symbol should be extern"); in parsePairRelocation()
113 assert(!SubRI.r_pcrel && "SUBTRACTOR reloc should not be PCRel"); in parsePairRelocation()
121 if (SubRI.r_address != UnsignedRI.r_address) in parsePairRelocation()
125 if (SubRI.r_length != UnsignedRI.r_length) in parsePairRelocation()
130 if (auto FromSymbolOrErr = findSymbolByIndex(SubRI.r_symbolnum)) in parsePairRelocation()
137 if (SubRI.r_length == 3) in parsePairRelocation()
165 DeltaKind = (SubRI.r_length == 3) ? Delta64 : Delta32; in parsePairRelocation()
[all …]