Home
last modified time | relevance | path

Searched refs:LoadCommand (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp26 MachOYAML::LoadCommand::~LoadCommand() = default;
213 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
219 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
225 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
231 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
237 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
243 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
249 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
255 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
261 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
[all …]
H A DMachOEmitter.cpp121 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData()
144 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
158 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString()
168 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
182 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
190 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
196 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
202 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
208 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
214 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp35 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
80 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands()
83 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands()
94 for (LoadCommand &LC : LoadCommands) { in removeSections()
115 for (const LoadCommand &LC : LoadCommands) in removeSections()
137 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress()
172 LoadCommand &Object::addSegment(StringRef SegName, uint64_t SegVMSize) { in addSegment()
173 LoadCommand LC; in addSegment()
192 Optional<StringRef> LoadCommand::getSegmentName() const { in getSegmentName()
204 Optional<uint64_t> LoadCommand::getSegmentVMAddr() const { in getSegmentVMAddr()
H A DMachOObjcopy.cpp33 using LoadCommandPred = std::function<bool(const LoadCommand &LC)>;
46 static StringRef getPayloadString(const LoadCommand &LC) { in getPayloadString()
137 static LoadCommand buildRPathLoadCommand(StringRef Path) { in buildRPathLoadCommand()
138 LoadCommand LC; in buildRPathLoadCommand()
186 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
205 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
263 auto RemovePred = [&MachOConfig](const LoadCommand &LC) { in processLoadCommands()
280 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile()
309 for (LoadCommand &LC : Obj.LoadCommands) { in addSection()
323 LoadCommand &NewSegment = in addSection()
[all …]
H A DMachOObject.h84 struct LoadCommand { struct
304 std::vector<LoadCommand> LoadCommands;
353 Error removeLoadCommands(function_ref<bool(const LoadCommand &)> ToRemove);
360 LoadCommand &addSegment(StringRef SegName, uint64_t SegVMSize);
H A DMachOWriter.cpp111 for (const LoadCommand &LC : O.LoadCommands) in totalSize()
157 for (const LoadCommand &LC : O.LoadCommands) { in writeLoadCommands()
239 for (const LoadCommand &LC : O.LoadCommands) in writeSections()
407 getSegmentFileOffset(const LoadCommand &TextSegmentLoadCommand) { in getSegmentFileOffset()
420 static uint64_t getSegmentFileSize(const LoadCommand &TextSegmentLoadCommand) { in getSegmentFileSize()
460 const LoadCommand &TextSegmentLoadCommand = in writeCodeSignatureData()
H A DMachOLayoutBuilder.cpp27 for (const LoadCommand &LC : O.LoadCommands) { in computeSizeOfCmds()
118 for (LoadCommand &LC : O.LoadCommands) { in layoutSegments()
215 for (LoadCommand &LC : O.LoadCommands) in layoutRelocations()
315 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
H A DMachOReader.cpp121 LoadCommand LC; in readLoadCommands()
249 for (LoadCommand &LC : O.LoadCommands) in setSymbolInRelocationInfo()
338 for (const LoadCommand &LC : O.LoadCommands) in readSwiftVersion()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h72 struct LoadCommand { struct
73 virtual ~LoadCommand();
133 std::vector<LoadCommand> LoadCommands;
163 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::LoadCommand)
200 template <> struct MappingTraits<MachOYAML::LoadCommand> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
201 static void mapping(IO &IO, MachOYAML::LoadCommand &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
306 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \ in LLVM_YAML_IS_SEQUENCE_VECTOR()
313 static void mapping(IO &IO, MachO::dylib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
317 static void mapping(IO &IO, MachO::fvmlib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
321 static void mapping(IO &IO, MachO::section &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/llvm-project-15.0.7/lldb/examples/python/
H A Dmach_o.py861 lc = Mach.LoadCommand()
1149 class LoadCommand: class in Mach
1281 class DylibLoadCommand(LoadCommand):
1298 s = Mach.LoadCommand.__str__(self)
1305 class LoadDYLDLoadCommand(LoadCommand):
1320 class UnixThreadLoadCommand(LoadCommand):
1393 class DYLDSymtabLoadCommand(LoadCommand):
1453 class SymtabLoadCommand(LoadCommand):
1473 class UUIDLoadCommand(LoadCommand):
1492 class DataBlobLoadCommand(LoadCommand):
[all …]
/llvm-project-15.0.7/lld/MachO/
H A DWriter.h21 class LoadCommand {
23 virtual ~LoadCommand() = default;
H A DWriter.cpp86 class LCDyldInfo final : public LoadCommand {
131 class LCSubFramework final : public LoadCommand {
175 class LCDataInCode final : public LoadCommand {
194 class LCDysymtab final : public LoadCommand {
275 class LCMain final : public LoadCommand {
295 class LCSymtab final : public LoadCommand {
320 class LCDylib final : public LoadCommand {
361 class LCLoadDylinker final : public LoadCommand {
385 class LCRPath final : public LoadCommand {
409 class LCMinVersion final : public LoadCommand {
[all …]
H A DSyntheticSections.h39 class LoadCommand; variable
94 void addLoadCommand(LoadCommand *);
97 std::vector<LoadCommand *> loadCommands;
H A DSyntheticSections.cpp87 void MachHeaderSection::addLoadCommand(LoadCommand *lc) { in addLoadCommand()
154 for (const LoadCommand *lc : loadCommands) { in writeTo()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp27 MachOYAML::LoadCommand &LC,
207 MachOYAML::LoadCommand &LC, in processLoadCommandData()
216 MachOYAML::LoadCommand &LC, in processLoadCommandData()
226 MachOYAML::LoadCommand &LC, in processLoadCommandData()
235 readString(MachOYAML::LoadCommand &LC, in readString()
247 MachOYAML::LoadCommand &LC, in processLoadCommandData()
256 MachOYAML::LoadCommand &LC, in processLoadCommandData()
265 MachOYAML::LoadCommand &LC, in processLoadCommandData()
274 MachOYAML::LoadCommand &LC, in processLoadCommandData()
318 MachOYAML::LoadCommand LC; in dumpLoadCommands()