Home
last modified time | relevance | path

Searched refs:MLC (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp29 auto cmd = MLC.load_command_data.cmd; in computeSizeOfCmds()
101 MLC.dysymtab_command_data.ilocalsym = 0; in updateDySymTab()
106 MLC.dysymtab_command_data.nundefsym = in updateDySymTab()
119 auto &MLC = LC.MachOLoadCommand; in layoutSegments() local
123 switch (MLC.load_command_data.cmd) { in layoutSegments()
145 LinkEditLoadCommand = &MLC; in layoutSegments()
189 switch (MLC.load_command_data.cmd) { in layoutSegments()
191 MLC.segment_command_data.cmdsize = in layoutSegments()
316 auto &MLC = LC.MachOLoadCommand; in layoutTail() local
317 auto cmd = MLC.load_command_data.cmd; in layoutTail()
[all …]
H A DMachOObject.cpp138 const MachO::macho_load_command &MLC = LC.MachOLoadCommand; in nextAvailableSegmentAddress() local
139 switch (MLC.load_command_data.cmd) { in nextAvailableSegmentAddress()
143 MLC.segment_command_data.vmsize); in nextAvailableSegmentAddress()
146 Addr = std::max(Addr, MLC.segment_command_64_data.vmaddr + in nextAvailableSegmentAddress()
193 const MachO::macho_load_command &MLC = MachOLoadCommand; in getSegmentName() local
194 switch (MLC.load_command_data.cmd) { in getSegmentName()
196 return extractSegmentName(MLC.segment_command_data.segname); in getSegmentName()
205 const MachO::macho_load_command &MLC = MachOLoadCommand; in getSegmentVMAddr() local
206 switch (MLC.load_command_data.cmd) { in getSegmentVMAddr()
208 return MLC.segment_command_data.vmaddr; in getSegmentVMAddr()
[all …]
H A DMachOWriter.cpp160 switch (MLC.load_command_data.cmd) { in writeLoadCommands()
173 memcpy(Begin, &MLC.segment_command_64_data, in writeLoadCommands()
196 switch (MLC.load_command_data.cmd) { in writeLoadCommands()
199 MLC.load_command_data.cmdsize); in writeLoadCommands()
408 const MachO::macho_load_command &MLC = in getSegmentFileOffset() local
410 switch (MLC.load_command_data.cmd) { in getSegmentFileOffset()
412 return MLC.segment_command_data.fileoff; in getSegmentFileOffset()
414 return MLC.segment_command_64_data.fileoff; in getSegmentFileOffset()
421 const MachO::macho_load_command &MLC = in getSegmentFileSize() local
423 switch (MLC.load_command_data.cmd) { in getSegmentFileSize()
[all …]
H A DMachOLayoutBuilder.h70 void updateDySymTab(MachO::macho_load_command &MLC);