| /llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 233 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local 235 const auto It = Config.SetSectionFlags.find(NewSection.SectionName); in handleArgs() 241 addSection(Obj, NewSection.SectionName, in handleArgs() 244 NewSection.SectionData->getBufferSize()), in handleArgs() 248 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local 250 return Sec.Name == NewSection.SectionName; in handleArgs() 255 NewSection.SectionName.str().c_str()); in handleArgs() 261 NewSection.SectionName.str().c_str()); in handleArgs() 262 if (ContentSize < NewSection.SectionData->getBufferSize()) in handleArgs() 266 It->setOwnedContents({NewSection.SectionData->getBufferStart(), in handleArgs() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 300 static Error addSection(const NewSectionInfo &NewSection, Object &Obj) { in addSection() argument 301 std::pair<StringRef, StringRef> Pair = NewSection.SectionName.split(','); in addSection() 305 Obj.NewSectionsContents.save(NewSection.SectionData->getBuffer()); in addSection() 354 static Error updateSection(const NewSectionInfo &NewSection, Object &O) { in updateSection() argument 361 if (NewSection.SectionData->getBufferSize() > Sec.Size) in updateSection() 417 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local 418 if (Error E = isValidMachOCannonicalName(NewSection.SectionName)) in handleArgs() 420 if (Error E = addSection(NewSection, Obj)) in handleArgs() 424 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local 425 if (Error E = isValidMachOCannonicalName(NewSection.SectionName)) in handleArgs() [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryData.h | 175 void setSection(BinarySection &NewSection); 176 void setOutputSection(BinarySection &NewSection) { in setOutputSection() argument 177 OutputSection = &NewSection; in setOutputSection() 180 void setOutputLocation(BinarySection &NewSection, uint64_t NewOffset) { in setOutputLocation() argument 181 setOutputSection(NewSection); in setOutputLocation()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObject.cpp | 22 Section NewSection, std::unique_ptr<MemoryBuffer> &&Content) { in addSectionWithOwnedContents() argument 23 Sections.push_back(NewSection); in addSectionWithOwnedContents()
|
| H A D | WasmObjcopy.cpp | 124 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs() local 127 Sec.Name = NewSection.SectionName; in handleArgs() 130 NewSection.SectionData->getBufferStart(), in handleArgs() 131 NewSection.SectionData->getBufferIdentifier()); in handleArgs()
|
| H A D | WasmObject.h | 35 void addSectionWithOwnedContents(Section NewSection,
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObjcopy.cpp | 218 Expected<SectionBase *> NewSection = AddSection(S); in replaceDebugSections() local 219 if (!NewSection) in replaceDebugSections() 220 return NewSection.takeError(); in replaceDebugSections() 222 FromTo[S] = *NewSection; in replaceDebugSections() 585 handleUserSection(const NewSectionInfo &NewSection, in handleUserSection() argument 589 NewSection.SectionData->getBufferSize()); in handleUserSection() 590 return F(NewSection.SectionName, Data); in handleUserSection() 647 OwnedDataSection &NewSection = in handleArgs() local 650 NewSection.Type = SHT_NOTE; in handleArgs() 657 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs() local [all …]
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryData.cpp | 88 void BinaryData::setSection(BinarySection &NewSection) { in setSection() argument 90 OutputSection = &NewSection; in setSection() 91 Section = &NewSection; in setSection()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | RewriteInstance.cpp | 4069 BinarySection &NewSection = in rewriteNoteSections() local 4077 NewSection.setOutputAddress(0); in rewriteNoteSections() 4255 ELFShdrTy NewSection; in getOutputSections() local 4260 NewSection.sh_entsize = 0; in getOutputSections() 4262 NewSection.sh_link = 0; in getOutputSections() 4263 NewSection.sh_info = 0; in getOutputSections() 4340 ELFShdrTy NewSection; in getOutputSections() local 4342 NewSection.sh_addr = 0; in getOutputSections() 4345 NewSection.sh_entsize = 0; in getOutputSections() 4347 NewSection.sh_link = 0; in getOutputSections() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCStreamer.h | 427 MCSectionSubPair NewSection = I->first; in popSection() local 429 if (NewSection.first && OldSection != NewSection) in popSection() 430 changeSection(NewSection.first, NewSection.second); in popSection()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 1312 void transferBlock(Block &B, Section &NewSection) { in transferBlock() argument 1314 if (&OldSection == &NewSection) in transferBlock() 1322 NewSection.addSymbol(*S); in transferBlock() 1325 NewSection.addBlock(B); in transferBlock()
|