Home
last modified time | relevance | path

Searched refs:UpdateSection (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ObjCopy/
H A DObjCopyTest.cpp236 enum Action : uint8_t { AddSection, UpdateSection }; enumerator
264 Config.Common.UpdateSection.push_back({Name, std::move(NewSectionBuffer)}); in addOrUpdateSectionToFileImpl()
309 TEST(UpdateSection, COFF) { in TEST() argument
314 ".text", "1234", UpdateSection); in TEST()
317 TEST(UpdateSection, ELF) { in TEST() argument
322 ".text", "1234", UpdateSection); in TEST()
325 TEST(UpdateSection, MachO) { in TEST() argument
330 "__text", "1234", UpdateSection); in TEST()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp657 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs()
658 auto UpdateSection = [&](StringRef Name, ArrayRef<uint8_t> Data) { in handleArgs() local
661 if (Error E = handleUserSection(NewSection, UpdateSection)) in handleArgs()
/llvm-project-15.0.7/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h224 std::vector<NewSectionInfo> UpdateSection; member
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp248 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp424 for (const NewSectionInfo &NewSection : Config.UpdateSection) { in handleArgs()
/llvm-project-15.0.7/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp844 Config.UpdateSection)) in parseObjcopyOptions()