| /llvm-project-15.0.7/llvm/unittests/ObjCopy/ |
| H A D | ObjCopyTest.cpp | 236 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 D | DWARFContext.cpp | 130 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 D | ObjectFileBreakpad.cpp | 144 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 D | ELFObjcopy.cpp | 206 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 D | SymbolVendorPECOFF.cpp | 131 module_section_list->AddSection(section_sp); in CreateInstance()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/wasm/ |
| H A D | SymbolVendorWasm.cpp | 130 module_section_list->AddSection(section_sp); in CreateInstance()
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | SymbolTest.cpp | 65 sect_list.AddSection(sect_sp); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/ELF/ |
| H A D | SymbolVendorELF.cpp | 135 module_section_list->AddSection(section_sp); in CreateInstance()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/ |
| H A D | ObjectFileWasm.cpp | 340 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 D | ConfigManager.cpp | 75 Common.DiscardMode != DiscardType::None || !Common.AddSection.empty() || in getXCOFFConfig()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObjcopy.cpp | 124 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | Section.cpp | 469 size_t SectionList::AddSection(const lldb::SectionSP §ion_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 D | CommonConfig.h | 222 std::vector<NewSectionInfo> AddSection; member
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | Section.h | 50 size_t AddSection(const lldb::SectionSP §ion_sp);
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/ |
| H A D | ObjectFilePECOFF.cpp | 990 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 D | COFFObjcopy.cpp | 233 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 1800 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 D | ProcessMinidump.cpp | 96 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 D | llvm-dwarfutil.cpp | 157 Config.Common.AddSection.emplace_back(objcopy::NewSectionInfo( in setConfigToAddNewDebugSections()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 417 for (const NewSectionInfo &NewSection : Config.AddSection) { in handleArgs()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 1794 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 D | ObjectFileMachO.cpp | 1655 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 D | IRExecutionUnit.cpp | 1175 section_list.AddSection(section_sp); in PopulateSectionList()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | ObjcopyOptions.cpp | 839 Config.AddSection)) in parseObjcopyOptions()
|