Home
last modified time | relevance | path

Searched refs:FormParams (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDIE.cpp272 unsigned DIE::computeOffsetsAndAbbrevs(const dwarf::FormParams &FormParams, in computeOffsetsAndAbbrevs() argument
333 unsigned DIEValue::sizeOf(const dwarf::FormParams &FormParams) const { in sizeOf()
426 unsigned DIEInteger::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
465 unsigned DIEExpr::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
496 unsigned DIELabel::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
546 unsigned DIEDelta::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
595 unsigned DIEString::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
681 unsigned DIEEntry::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
711 unsigned DIELoc::computeSize(const dwarf::FormParams &FormParams) const { in computeSize()
813 unsigned DIELocList::sizeOf(const dwarf::FormParams &FormParams, in sizeOf() argument
[all …]
H A DAsmPrinter.cpp3894 dwarf::FormParams AsmPrinter::getDwarfFormParams() const { in getDwarfFormParams()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DDIE.h194 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
211 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
228 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
264 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
283 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
324 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
343 unsigned sizeOf(const dwarf::FormParams &FormParams, dwarf::Form Form) const;
509 unsigned sizeOf(const dwarf::FormParams &FormParams) const;
833 unsigned computeOffsetsAndAbbrevs(const dwarf::FormParams &FormParams,
937 unsigned computeSize(const dwarf::FormParams &FormParams) const;
[all …]
H A DAsmPrinter.h250 dwarf::FormParams getDwarfFormParams() const;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnit.h55 dwarf::FormParams FormParams; variable
86 const dwarf::FormParams &getFormParams() const { return FormParams; } in getFormParams()
87 uint16_t getVersion() const { return FormParams.Version; } in getVersion()
88 dwarf::DwarfFormat getFormat() const { return FormParams.Format; } in getFormat()
89 uint8_t getAddressByteSize() const { return FormParams.AddrSize; } in getAddressByteSize()
92 return FormParams.getDwarfOffsetByteSize(); in getDwarfOffsetByteSize()
110 return dwarf::getUnitLengthFieldByteSize(FormParams.Format); in getUnitLengthFieldByteSize()
188 dwarf::FormParams FormParams = {0, 0, dwarf::DwarfFormat::DWARF32}; member
195 uint8_t getVersion() const { return FormParams.Version; } in getVersion()
198 return FormParams.getDwarfOffsetByteSize(); in getDwarfOffsetByteSize()
[all …]
H A DDWARFFormValue.h98 dwarf::FormParams FormParams,
103 dwarf::FormParams FormParams, const DWARFUnit *U) { in extractValue() argument
104 return extractValue(Data, OffsetPtr, FormParams, nullptr, U); in extractValue()
148 const dwarf::FormParams Params) const { in skipValue()
164 const dwarf::FormParams FormParams);
H A DDWARFDebugLine.h69 dwarf::FormParams FormParams; member
96 const dwarf::FormParams getFormParams() const { return FormParams; } in getFormParams()
97 uint16_t getVersion() const { return FormParams.Version; } in getVersion()
98 uint8_t getAddressSize() const { return FormParams.AddrSize; } in getAddressSize()
99 bool isDWARF64() const { return FormParams.Format == dwarf::DWARF64; } in isDWARF64()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DDwarfTest.cpp147 FormParams Params_2_4_32 = {2, 4, DWARF32}; in TEST()
155 FormParams Params_2_8_32 = {2, 8, DWARF32}; in TEST()
163 FormParams Params_3_4_32 = {3, 4, DWARF32}; in TEST()
168 FormParams Params_4_4_32 = {4, 4, DWARF32}; in TEST()
173 FormParams Params_5_4_32 = {5, 4, DWARF32}; in TEST()
179 FormParams Params_3_8_64 = {3, 8, DWARF64}; in TEST()
184 FormParams Params_4_8_64 = {4, 8, DWARF64}; in TEST()
189 FormParams Params_5_8_64 = {5, 8, DWARF64}; in TEST()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp117 dwarf::FormParams FormParams = {Hdr.Version, 0, dwarf::DwarfFormat::DWARF32}; in readAtoms() local
121 FormValue.extractValue(AccelSection, HashDataOffset, FormParams); in readAtoms()
166 dwarf::FormParams FormParams = {Hdr.Version, 0, dwarf::DwarfFormat::DWARF32}; in dumpName() local
186 if (Atom.extractValue(AccelSection, DataOffset, FormParams)) { in dumpName()
269 dwarf::FormParams FormParams = {AccelTable.Hdr.Version, 0, in extract() local
272 Atom.extractValue(AccelTable.AccelSection, Offset, FormParams); in extract()
626 dwarf::FormParams FormParams = {Hdr.Version, 0, Hdr.Format}; in getEntry() local
628 if (!Value.extractValue(AS, Offset, FormParams)) in getEntry()
H A DDWARFDebugLine.cpp110 FormParams = dwarf::FormParams({0, 0, DWARF32}); in clear()
121 int OffsetDumpWidth = 2 * dwarf::getDwarfOffsetByteSize(FormParams.Format); in dump()
125 << " format: " << dwarf::FormatString(FormParams.Format) << "\n" in dump()
269 uint64_t *OffsetPtr, const dwarf::FormParams &FormParams, in parseV5DirFileTables() argument
287 if (!Value.extractValue(DebugLineData, OffsetPtr, FormParams, &Ctx, U)) in parseV5DirFileTables()
294 if (!Value.skipValue(DebugLineData, OffsetPtr, FormParams)) in parseV5DirFileTables()
314 if (!Value.extractValue(DebugLineData, OffsetPtr, FormParams, &Ctx, U)) in parseV5DirFileTables()
367 std::tie(TotalLength, FormParams.Format) = in parse()
372 FormParams.Version = DebugLineData.getU16(Cursor); in parse()
386 FormParams.AddrSize = DebugLineData.getU8(Cursor); in parse()
[all …]
H A DDWARFUnit.cpp254 std::tie(Length, FormParams.Format) = in extract()
256 FormParams.Version = debug_info.getU16(offset_ptr, &Err); in extract()
257 if (FormParams.Version >= 5) { in extract()
259 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract()
261 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); in extract()
264 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); in extract()
265 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract()
276 offset_ptr, FormParams.getDwarfOffsetByteSize(), &Err); in extract()
H A DDWARFAbbreviationDeclaration.cpp99 if ((ByteSize = dwarf::getFixedFormByteSize(F, dwarf::FormParams()))) { in extract()
H A DDWARFFormValue.cpp113 const dwarf::FormParams Params) { in skipValue()
248 uint64_t *OffsetPtr, dwarf::FormParams FP, in extractValue()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDwarfGenerator.cpp173 P.FormParams.AddrSize = AddrSize; in createBasicPrologue()
180 P.FormParams.Format = DWARF64; in createBasicPrologue()
183 P.FormParams.Version = Version; in createBasicPrologue()
H A DDWARFDebugLineTest.cpp862 Prologue.FormParams.AddrSize = AddressSize;
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DDwarf.h653 struct FormParams { struct
699 Optional<uint8_t> getFixedFormByteSize(dwarf::Form Form, FormParams Params);
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DDwarf.cpp695 FormParams Params) { in getFixedFormByteSize()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp266 const dwarf::FormParams &Params, in writeDIE()
414 dwarf::FormParams Params = {Unit.Version, AddrSize, Unit.Format}; in emitDebugInfo()
/llvm-project-15.0.7/llvm/lib/DWP/
H A DDWP.cpp144 dwarf::FormParams({Header.Version, Header.AddrSize, Header.Format})); in getCUIdentifiers()