Home
last modified time | relevance | path

Searched refs:NewSection (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp263 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local
265 const auto It = Config.SetSectionFlags.find(NewSection.SectionName); in handleArgs()
271 addSection(Obj, NewSection.SectionName, in handleArgs()
273 NewSection.SectionData->getBufferStart()), in handleArgs()
274 NewSection.SectionData->getBufferSize()), in handleArgs()
278 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local
280 return Sec.Name == NewSection.SectionName; in handleArgs()
285 NewSection.SectionName.str().c_str()); in handleArgs()
291 NewSection.SectionName.str().c_str()); in handleArgs()
292 if (ContentSize < NewSection in handleArgs()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp311 static Error addSection(const NewSectionInfo &NewSection, Object &Obj) { in addSection()
312 std::pair<StringRef, StringRef> Pair = NewSection.SectionName.split(','); in addSection()
316 Obj.NewSectionsContents.save(NewSection.SectionData->getBuffer()); in addSection()
365 static Error updateSection(const NewSectionInfo &NewSection, Object &O) { in updateSection()
366 Expected<Section &> SecToUpdateOrErr = findSection(NewSection.SectionName, O); in updateSection()
372 if (NewSection.SectionData->getBufferSize() > Sec.Size)
376 Sec.Content = O.NewSectionsContents.save(NewSection.SectionData->getBuffer()); in isValidMachOCannonicalName()
428 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
429 if (Error E = isValidMachOCannonicalName(NewSection.SectionName)) in handleArgs()
431 if (Error E = addSection(NewSection, Ob in handleArgs()
303 addSection(const NewSectionInfo & NewSection,Object & Obj) addSection() argument
357 updateSection(const NewSectionInfo & NewSection,Object & O) updateSection() argument
420 for (const NewSectionInfo &NewSection : Config.AddSection) { handleArgs() local
427 for (const NewSectionInfo &NewSection : Config.UpdateSection) { handleArgs() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp124 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local
127 Sec.Name = NewSection.SectionName; in handleArgs()
130 llvm::StringRef(NewSection.SectionData->getBufferStart(), in handleArgs()
131 NewSection.SectionData->getBufferSize()); in handleArgs()
133 InputData, NewSection.SectionData->getBufferIdentifier()); in handleArgs()
H A DWasmObject.cpp22 Section NewSection, std::unique_ptr<MemoryBuffer> &&Content) { in addSectionWithOwnedContents() argument
23 Sections.push_back(NewSection); in addSectionWithOwnedContents()
H A DWasmObject.h36 void addSectionWithOwnedContents(Section NewSection,
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp618 handleUserSection(const NewSectionInfo &NewSection, in handleUserSection() argument
621 NewSection.SectionData->getBufferStart()), in handleUserSection()
622 NewSection.SectionData->getBufferSize()); in handleUserSection()
623 return F(NewSection.SectionName, Data); in handleUserSection()
759 OwnedDataSection &NewSection = in handleArgs() local
762 NewSection.Type = SHT_NOTE; in handleArgs()
772 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local
776 if (Error E = handleUserSection(NewSection, UpdateSection)) in handleArgs()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h1436 void transferBlock(Block &B, Section &NewSection) { in transferBlock() argument
1438 if (&OldSection == &NewSection) in transferBlock()
1446 NewSection.addSymbol(*S); in transferBlock()
1449 NewSection.addBlock(B); in transferBlock()