HomeSort by: relevance | last modified time | path
    Searched defs:Section (Results 1 - 25 of 92) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
DebugSubsectionVisitor.cpp 54 DebugCrossModuleExportsSubsectionRef Section;
55 if (auto EC = Section.initialize(Reader))
57 return V.visitCrossModuleExports(Section, State);
60 DebugCrossModuleImportsSubsectionRef Section;
61 if (auto EC = Section.initialize(Reader))
63 return V.visitCrossModuleImports(Section, State);
66 DebugSymbolsSubsectionRef Section;
67 if (auto EC = Section.initialize(Reader))
69 return V.visitSymbols(Section, State);
72 DebugStringTableSubsectionRef Section;
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/
DIASectionContrib.h 49 CComPtr<IDiaSectionContrib> Section;
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
DWARFDataExtractor.h 19 /// A DataExtractor (typically for an in-memory copy of an object-file section)
20 /// plus a relocation map for that section, if there is one.
23 const DWARFSection *Section = nullptr;
26 /// Constructor for the normal case of extracting data from a DWARF section.
28 DWARFDataExtractor(const DWARFObject &Obj, const DWARFSection &Section,
30 : DataExtractor(Section.Data, IsLittleEndian, AddressSize), Obj(&Obj),
31 Section(&Section) {}
46 Obj(Other.Obj), Section(Other.Section) {}
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/
BPFELFObjectWriter.cpp 57 MCSection &Section = Sym.getSection();
58 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section);
59 assert(SectionELF && "Null section for reloc symbol");
66 // The insn offset is within the code section and
69 // The reloc symbol should be in text section.
76 // The reloc symbol should be in data section.
  /src/external/apache2/llvm/dist/clang/lib/Basic/
ProfileList.cpp 91 StringRef Section = getSectionName(Kind);
92 if (SCL->inSection(Section, "!fun", FunctionName))
94 if (SCL->inSection(Section, "fun", FunctionName))
108 StringRef Section = getSectionName(Kind);
109 if (SCL->inSection(Section, "!src", FileName))
111 if (SCL->inSection(Section, "src", FileName))
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
NativeLineNumber.h 24 uint32_t Section, uint32_t Offset,
44 uint32_t Section;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
SpecialCaseList.h 15 // entries below it apply to. Section names are regular expressions, and
16 // entries without a section header match all sections (e.g. an '[*]' header
91 /// where @Query satisfies wildcard expression <E> in a given @Section.
92 bool inSection(StringRef Section, StringRef Prefix, StringRef Query,
100 /// where @Query satisfies wildcard expression <E> in a given @Section.
103 unsigned inSectionBlame(StringRef Section, StringRef Prefix, StringRef Query,
136 struct Section {
137 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){};
143 std::vector<Section> Sections;
150 // once they have already resolved a section entry
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/
ConstantPools.cpp 66 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) {
67 ConstantPoolMapTy::iterator CP = ConstantPools.find(Section);
75 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) {
76 return ConstantPools[Section];
79 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section,
82 Streamer.SwitchSection(Section);
90 MCSection *Section = CPI.first;
93 emitConstantPool(Streamer, Section, CP);
98 MCSection *Section = Streamer.getCurrentSectionOnly();
99 if (ConstantPool *CP = getConstantPool(Section))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCELFStreamer.cpp 107 MCSection &Section = *getAssembler().getContext().getELFSection(
110 SwitchSection(&Section);
118 // Update the maximum alignment of the section if necessary.
119 if (Align(ByteAlignment) > Section.getAlignment())
120 Section.setAlignment(Align(ByteAlignment));
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsTargetObjectFile.cpp 25 cl::desc("Small data and bss section threshold size (default=8)"),
58 // A address must be loaded from a small section if its size is less than the
59 // small section size threshold. Data in this section must be addressed using
68 /// section.
72 // section kind using getKindForGlobal() is only allowed for global
81 /// section.
91 /// section. This method does all the work, except for checking the section
99 // Return if small section is not available
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVTargetObjectFile.cpp 27 // A address must be loaded from a small section if its size is less than the
28 // small section size threshold. Data in this section could be addressed by
37 // section.
45 // If the variable has an explicit section, it is placed in that section.
47 StringRef Section = GVA->getSection();
49 // Explicitly placing any variable in the small data section overrides
51 if (Section == ".sdata" || Section == ".sbss"
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
Object.h 22 struct Section {
23 // For now, each section is only an opaque binary blob with no distinction
33 std::vector<Section> Sections;
35 void addSectionWithOwnedContents(Section NewSection,
37 void removeSections(function_ref<bool(const Section &)> ToRemove);
  /src/external/apache2/llvm/dist/llvm/bindings/python/llvm/
object.py 18 Section, Symbol, and Relocation, respectively.
29 relocations, call get_relocations() on a Section instance.
39 To aid working around this limitation, each Section, Symbol, and Relocation
52 # This is OK. Each Section is only accessed inside its own iteration slot.
54 for section in obj.get_sections():
55 section_names.append(section.name)
95 "Section",
125 This is a generator for llvm.object.Section instances.
136 last = Section(sections)
178 class Section(LLVMObject)
329 def section(self): member in class:Symbol
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/
DIALineNumber.cpp 38 DWORD Section = 0;
39 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0;
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
RuntimeDyldCOFFI386.h 55 auto Section = *SectionOrErr;
56 bool IsExtern = Section == Obj.section_end();
70 Obj, *Section, Section->isText(), ObjSectionToID))
100 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
143 const auto Section = Sections[RE.SectionID];
144 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
168 // NOTE: use Section[0].getLoadAddress() as an approximation of ImageBase
186 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset;
200 // 16-bit section index of the section that contains the target
    [all...]
RuntimeDyldCOFFThumb.h 26 object::section_iterator Section) {
39 // We check the IMAGE_SCN_MEM_16BIT flag in the section of the symbol to tell
42 .getCOFFSection(*Section)
77 auto Section = *SectionOrErr;
102 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
106 bool IsExtern = Section == Obj.section_end();
117 findOrEmitSection(Obj, *Section, Section->isText(), ObjSectionToID))
132 bool IsTargetThumbFunc = isThumbFunc(Symbol, Obj, Section);
187 const auto Section = Sections[RE.SectionID]
    [all...]
RuntimeDyldELFMips.cpp 16 const SectionEntry &Section = Sections[RE.SectionID];
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend);
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
33 const SectionEntry &Section = Sections[RE.SectionID];
34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType,
44 const SectionEntry &Section = Sections[RE.SectionID];
45 applyMIPSRelocation(Section.getAddressWithOffset(RE.Offset), Value,
53 RuntimeDyldELFMips::evaluateMIPS32Relocation(const SectionEntry &Section,
58 << format("%llx", Section.getAddressWithOffset(Offset)
    [all...]
RuntimeDyldCOFFX86_64.h 34 // Fake an __ImageBase pointer by returning the section with the lowest adress
38 for (const SectionEntry &Section : Sections)
42 // section isn't loaded, the load address will be 0, and it should not
44 if (Section.getLoadAddress() != 0)
45 ImageBase = std::min(ImageBase, Section.getLoadAddress());
70 // SectionEntry::Address is the address at which the section has been loaded
72 // the address that the section will have in the target process.
73 // SectionEntry::ObjAddress is the address of the bits for this section in the
76 // Relocations will be applied as if the section were loaded at
83 // current object Value will be the LoadAddress of the section in whic
    [all...]
RuntimeDyldMachOX86_64.h 88 const SectionEntry &Section = Sections[RE.SectionID];
89 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
96 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
124 const SectionRef &Section) {
131 SectionEntry &Section = Sections[RE.SectionID];
138 Addr = Section.getAddressWithOffset(i->second);
140 Stubs[Value] = Section.getStubOffset();
141 uint8_t *GOTEntry = Section.getAddressWithOffset(Section.getStubOffset());
142 RelocationEntry GOTRE(RE.SectionID, Section.getStubOffset()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MachObjectWriter.cpp 124 static bool canUseLocalRelocation(const MCSectionMachO &Section,
127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))
168 // AArch64 pcrel relocation addends do not include the section offset.
208 // SymbolNum of 0 indicates the absolute section.
267 "'. Must have non-local symbol earlier in section.");
274 "'. Must have non-local symbol earlier in section.");
302 const MCSectionMachO &Section =
306 canUseLocalRelocation(Section, *Symbol, Log2Size);
308 // Make sure that the symbol is actually in a section here. If it isn't,
314 "'. Must have non-local symbol earlier in section.")
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
COFFYAML.h 69 struct Section {
70 COFF::section Header;
80 Section();
106 std::vector<Section> Sections;
116 LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Section)
244 struct MappingTraits<COFFYAML::Section> {
245 static void mapping(IO &IO, COFFYAML::Section &Sec);
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
COFFYAML.cpp 25 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); }
559 void MappingTraits<COFFYAML::Section>::mapping(IO &IO, COFFYAML::Section &Sec) {
568 // If this is a .debug$S .debug$T .debug$P, or .debug$H section parse the
570 // of section, just deal in raw bytes.
  /src/external/apache2/llvm/dist/llvm/lib/Support/
SpecialCaseList.cpp 134 StringRef Section = "*";
142 // Save section names
145 Error = (Twine("malformed section header on line ") + Twine(LineNo) +
150 Section = I->slice(1, I->size() - 1);
153 Regex CheckRE(Section);
156 (Twine("malformed regex for section ") + Section + ": '" + REError)
178 // Create this section if it has not been seen before.
179 if (SectionsMap.find(Section) == SectionsMap.end()) {
182 if (!M->insert(std::string(Section), LineNo, REError))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonTargetObjectFile.cpp 39 cl::desc("The maximum size of an object in the sdata section"));
54 cl::desc("Emit hexagon jump tables in function section"));
58 cl::desc("Emit hexagon lookup tables in function section"));
82 // Returns true if the section name is such that the symbol will be put
83 // in a small data section.
84 // For instance, global variables with section attributes such as ".sdata"
88 // obviates the need for checks for section names such as ".sdatafoo".
91 // If either ".sdata." or ".sbss." is a substring of the section name
130 TRACE("input section(" << GO->getSection() << ") ");
143 // it in text section
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
X86MachObjectWriter.cpp 133 // SymbolNum of 0 indicates the absolute section.
173 // section has only temporary symbols and thus the symbols don't have base
174 // symbols. This is encoded using the section ordinal and non-extern
230 const MCSectionMachO &Section =
232 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))
245 // The index is the section ordinal (1-based).
423 Twine("Section too large, can't encode "
555 // SymbolNum of 0 indicates the absolute section.
580 // The index is the section ordinal (1-based).

Completed in 56 milliseconds

1 2 3 4