Home
last modified time | relevance | path

Searched refs:AddSection (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ObjCopy/
H A DObjCopyTest.cpp236 enum Action : uint8_t { AddSection, UpdateSection }; enumerator
261 if (SectionAction == AddSection) in addOrUpdateSectionToFileImpl()
262 Config.Common.AddSection.push_back({Name, std::move(NewSectionBuffer)}); in addOrUpdateSectionToFileImpl()
277 TEST(AddSection, COFF) { in TEST() argument
282 ".foo", "1234", AddSection); in TEST()
285 TEST(AddSection, ELF) { in TEST() argument
290 ".foo", "1234", AddSection); in TEST()
293 TEST(AddSection, MachO) { in TEST() argument
298 "__foo", "1234", AddSection); in TEST()
301 TEST(AddSection, Wasm) { in TEST() argument
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp130 auto AddSection = [&](llvm::StringRef name, DWARFDataExtractor data) { in GetAsLLVM() local
140 AddSection("debug_line_str", getOrLoadLineStrData()); in GetAsLLVM()
141 AddSection("debug_cu_index", getOrLoadCuIndexData()); in GetAsLLVM()
142 AddSection("debug_tu_index", getOrLoadTuIndexData()); in GetAsLLVM()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp144 m_sections_up->AddSection(section_sp); in CreateSections()
145 unified_section_list.AddSection(section_sp); in CreateSections()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp206 function_ref<Expected<SectionBase *>(const SectionBase *)> AddSection) { in replaceDebugSections() argument
218 Expected<SectionBase *> NewSection = AddSection(S); in replaceDebugSections()
645 for (const NewSectionInfo &AddedSection : Config.AddSection) { in handleArgs()
646 auto AddSection = [&](StringRef Name, ArrayRef<uint8_t> Data) { in handleArgs() local
653 if (Error E = handleUserSection(AddedSection, AddSection)) in handleArgs()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp131 module_section_list->AddSection(section_sp); in CreateInstance()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp130 module_section_list->AddSection(section_sp); in CreateInstance()
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DSymbolTest.cpp65 sect_list.AddSection(sect_sp); in TEST()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp135 module_section_list->AddSection(section_sp); in CreateInstance()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp340 m_sections_up->AddSection(section_sp); in CreateSections()
341 unified_section_list.AddSection(section_sp); in CreateSections()
/llvm-project-15.0.7/llvm/lib/ObjCopy/
H A DConfigManager.cpp75 Common.DiscardMode != DiscardType::None || !Common.AddSection.empty() || in getXCOFFConfig()
/llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp124 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
/llvm-project-15.0.7/lldb/source/Core/
H A DSection.cpp469 size_t SectionList::AddSection(const lldb::SectionSP &section_sp) { in AddSection() function in SectionList
504 sect_idx = AddSection(sect_sp); in AddUniqueSection()
/llvm-project-15.0.7/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h222 std::vector<NewSectionInfo> AddSection; member
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DSection.h50 size_t AddSection(const lldb::SectionSP &section_sp);
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp990 m_sections_up->AddSection(header_sp); in CreateSections()
991 unified_section_list.AddSection(header_sp); in CreateSections()
1026 m_sections_up->AddSection(section_sp); in CreateSections()
1027 unified_section_list.AddSection(section_sp); in CreateSections()
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp233 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1800 void AddSection(SectionAddressInfo Info, SectionSP Sect) { in AddSection() function in __anonef11e3c80211::VMAddressProvider
1838 m_sections_up->AddSection(Segment); in CreateSections()
1887 .AddSection(section_sp); in CreateSections()
1888 provider.AddSection(std::move(*InfoOr), std::move(section_sp)); in CreateSections()
1910 unified_section_list.AddSection(symtab_section_sp); in CreateSections()
2239 module_section_list->AddSection(symbol_section_sp); in ParseSymbols()
2240 section_list->AddSection(symbol_section_sp); in ParseSymbols()
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp96 m_sections_up->AddSection(section_sp); in CreateSections()
97 unified_section_list.AddSection(std::move(section_sp)); in CreateSections()
/llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp157 Config.Common.AddSection.emplace_back(objcopy::NewSectionInfo( in setConfigToAddNewDebugSections()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp417 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1794 auto AddSection = [&](const ELFYAML::SectionHeader &Hdr) { in buildSectionHeaderReorderMap() local
1803 AddSection(Hdr); in buildSectionHeaderReorderMap()
1807 AddSection(Hdr); in buildSectionHeaderReorderMap()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1655 m_sections_up->AddSection(segment_sp); in ProcessSegmentCommand()
1658 context.UnifiedList.AddSection(segment_sp); in ProcessSegmentCommand()
1693 m_sections_up->AddSection(unified_section_sp); in ProcessSegmentCommand()
1810 m_sections_up->AddSection(segment_sp); in ProcessSegmentCommand()
1812 context.UnifiedList.AddSection(segment_sp); in ProcessSegmentCommand()
1834 segment_sp->GetChildren().AddSection(section_sp); in ProcessSegmentCommand()
/llvm-project-15.0.7/lldb/source/Expression/
H A DIRExecutionUnit.cpp1175 section_list.AddSection(section_sp); in PopulateSectionList()
/llvm-project-15.0.7/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp839 Config.AddSection)) in parseObjcopyOptions()