Searched refs:NewSection (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 271 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local 273 const auto It = Config.SetSectionFlags.find(NewSection.SectionName); in handleArgs() 279 addSection(Obj, NewSection.SectionName, in handleArgs() 281 NewSection.SectionData->getBufferStart()), in handleArgs() 282 NewSection.SectionData->getBufferSize()), in handleArgs() 286 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local 288 return Sec.Name == NewSection.SectionName; in handleArgs() 293 NewSection.SectionName.str().c_str()); in handleArgs() 299 NewSection.SectionName.str().c_str()); in handleArgs() 300 if (ContentSize < NewSection.SectionData->getBufferSize()) in handleArgs() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObjcopy.cpp | 125 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local 128 Sec.Name = NewSection.SectionName; in handleArgs() 131 llvm::StringRef(NewSection.SectionData->getBufferStart(), in handleArgs() 132 NewSection.SectionData->getBufferSize()); in handleArgs() 134 InputData, NewSection.SectionData->getBufferIdentifier()); in handleArgs()
|
| H A D | WasmObject.cpp | 19 Section NewSection, std::unique_ptr<MemoryBuffer> &&Content) { in addSectionWithOwnedContents() argument 20 Sections.push_back(NewSection); in addSectionWithOwnedContents()
|
| H A D | WasmObject.h | 37 void addSectionWithOwnedContents(Section NewSection,
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 330 static Error addSection(const NewSectionInfo &NewSection, Object &Obj) { in addSection() argument 331 std::pair<StringRef, StringRef> Pair = NewSection.SectionName.split(','); in addSection() 335 Obj.NewSectionsContents.save(NewSection.SectionData->getBuffer()); in addSection() 402 static Error updateSection(const NewSectionInfo &NewSection, Object &O) { in updateSection() argument 403 Expected<Section &> SecToUpdateOrErr = findSection(NewSection.SectionName, O); in updateSection() 409 if (NewSection.SectionData->getBufferSize() > Sec.Size) in updateSection() 413 Sec.Content = O.NewSectionsContents.save(NewSection.SectionData->getBuffer()); in updateSection() 466 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local 467 if (Error E = isValidMachOCannonicalName(NewSection.SectionName)) in handleArgs() 469 if (Error E = addSection(NewSection, Obj)) in handleArgs() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObjcopy.cpp | 721 handleUserSection(const NewSectionInfo &NewSection, in handleUserSection() argument 724 NewSection.SectionData->getBufferStart()), in handleUserSection() 725 NewSection.SectionData->getBufferSize()); in handleUserSection() 726 return F(NewSection.SectionName, Data); in handleUserSection() 917 OwnedDataSection &NewSection = in handleArgs() local 920 NewSection.Type = SHT_NOTE; in handleArgs() 930 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local 934 if (Error E = handleUserSection(NewSection, UpdateSection)) in handleArgs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 1564 void transferBlock(Block &B, Section &NewSection) { in transferBlock() argument 1566 if (&OldSection == &NewSection) in transferBlock() 1574 NewSection.addSymbol(*S); in transferBlock() 1577 NewSection.addBlock(B); in transferBlock()
|