Home
last modified time | relevance | path

Searched refs:DumpOpts (Results 1 – 25 of 61) sorted by relevance

123

/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp61 const DIDumpOptions &DumpOpts) { in dumpRanges() argument
62 if (!DumpOpts.ShowAddresses) in dumpRanges()
68 R.dump(OS, AddressSize, DumpOpts, &Obj); in dumpRanges()
74 DIDumpOptions DumpOpts) { in dumpLocation() argument
83 .print(OS, DumpOpts, MRI, U); in dumpLocation()
91 FormValue.dump(OS, DumpOpts); in dumpLocation()
99 MRI, Ctx.getDWARFObj(), U, DumpOpts, in dumpLocation()
104 FormValue.dump(OS, DumpOpts); in dumpLocation()
235 DIDumpOptions DumpOpts) { in dumpAttribute() argument
243 if (DumpOpts.Verbose || DumpOpts.ShowForm) in dumpAttribute()
[all …]
DDWARFDebugRnglists.cpp177 uint64_t &CurrentBase, DIDumpOptions DumpOpts, in dump() argument
181 uint8_t AddrSize, DIDumpOptions DumpOpts) { in dump() argument
182 if (DumpOpts.Verbose) { in dump()
183 DumpOpts.DisplayRawContents = true; in dump()
185 .dump(OS, AddrSize, DumpOpts); in dump()
190 if (DumpOpts.Verbose) { in dump()
206 OS << (DumpOpts.Verbose ? "" : "<End of list>"); in dump()
213 if (!DumpOpts.Verbose) in dump()
221 if (!DumpOpts.Verbose) in dump()
226 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
[all …]
DDWARFDebugLoc.cpp109 static void dumpExpression(raw_ostream &OS, DIDumpOptions DumpOpts, in dumpExpression() argument
118 DWARFExpression(Extractor, AddressSize).print(OS, DumpOpts, MRI, U); in dumpExpression()
125 DIDumpOptions DumpOpts, in dumpLocationList() argument
136 if (!Loc || DumpOpts.DisplayRawContents) in dumpLocationList()
137 dumpRawEntry(E, OS, Indent, DumpOpts, Obj); in dumpLocationList()
141 if (DumpOpts.DisplayRawContents) in dumpLocationList()
144 DIDumpOptions RangeDumpOpts(DumpOpts); in dumpLocationList()
158 dumpExpression(OS, DumpOpts, E.Loc, Data.isLittleEndian(), in dumpLocationList()
164 DumpOpts.RecoverableErrorHandler(std::move(E)); in dumpLocationList()
186 const DWARFObject &Obj, DIDumpOptions DumpOpts, in dump() argument
[all …]
DDWARFFormValue.cpp368 DIDumpOptions DumpOpts, in dumpSectionedAddress() argument
371 dumpAddressSection(U->getContext().getDWARFObj(), OS, DumpOpts, in dumpSectionedAddress()
376 DIDumpOptions DumpOpts, in dumpAddressSection() argument
378 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
390 void DWARFFormValue::dump(raw_ostream &OS, DIDumpOptions DumpOpts) const { in dump()
393 raw_ostream &AddrOS = DumpOpts.ShowAddresses in dump()
399 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
412 if (!A || DumpOpts.Verbose) in dump()
415 dumpSectionedAddress(AddrOS, DumpOpts, *A); in dump()
491 if (DumpOpts.Verbose) in dump()
[all …]
DDWARFAddressRange.cpp17 DIDumpOptions DumpOpts, in dump() argument
20 OS << (DumpOpts.DisplayRawContents ? " " : "["); in dump()
24 OS << (DumpOpts.DisplayRawContents ? "" : ")"); in dump()
27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
DDWARFContext.cpp144 static void dumpStringOffsetsSection(raw_ostream &OS, DIDumpOptions DumpOpts, in dumpStringOffsetsSection() argument
177 DumpOpts.RecoverableErrorHandler(createStringError( in dumpStringOffsetsSection()
218 DIDumpOptions DumpOpts, uint16_t Version, in dumpAddrSection() argument
225 DumpOpts.WarningHandler)) { in dumpAddrSection()
226 DumpOpts.RecoverableErrorHandler(std::move(Err)); in dumpAddrSection()
235 AddrTable.dump(OS, DumpOpts); in dumpAddrSection()
244 DIDumpOptions DumpOpts) { in dumpRnglistsSection() argument
250 DumpOpts.RecoverableErrorHandler(std::move(Err)); in dumpRnglistsSection()
258 Rnglists.dump(rnglistData, OS, LookupPooledAddress, DumpOpts); in dumpRnglistsSection()
305 static void dumpLoclistsSection(raw_ostream &OS, DIDumpOptions DumpOpts, in dumpLoclistsSection() argument
[all …]
DDWARFTypeUnit.cpp20 void DWARFTypeUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump() argument
25 if (DumpOpts.SummarizeTypes) { in dump()
50 TU.dump(OS, 0, DumpOpts); in dump()
DDWARFDebugFrame.cpp237 void CFIProgram::printOperand(raw_ostream &OS, DIDumpOptions DumpOpts, in printOperand() argument
291 Instr.Expression->print(OS, DumpOpts, MRI, nullptr, IsEH); in printOperand()
296 void CFIProgram::dump(raw_ostream &OS, DIDumpOptions DumpOpts, in dump() argument
306 printOperand(OS, DumpOpts, MRI, IsEH, Instr, i, Instr.Ops[i]); in dump()
323 void CIE::dump(raw_ostream &OS, DIDumpOptions DumpOpts, in dump() argument
356 CFIs.dump(OS, DumpOpts, MRI, IsEH); in dump()
360 void FDE::dump(raw_ostream &OS, DIDumpOptions DumpOpts, in dump() argument
375 CFIs.dump(OS, DumpOpts, MRI, IsEH); in dump()
604 void DWARFDebugFrame::dump(raw_ostream &OS, DIDumpOptions DumpOpts, in dump() argument
609 Entry->dump(OS, DumpOpts, MRI, IsEH); in dump()
[all …]
DDWARFCompileUnit.cpp17 void DWARFCompileUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump() argument
35 CUDie.dump(OS, 0, DumpOpts); in dump()
DDWARFListTable.cpp79 DIDumpOptions DumpOpts) const { in dump()
80 if (DumpOpts.Verbose) in dump()
97 if (DumpOpts.Verbose) in dump()
DDWARFExpression.cpp207 DIDumpOptions DumpOpts, uint64_t Operands[2], in prettyPrintBaseTypeRef() argument
213 if (DumpOpts.Verbose) in prettyPrintBaseTypeRef()
225 DIDumpOptions DumpOpts, uint8_t Opcode, in prettyPrintRegisterOp() argument
251 prettyPrintBaseTypeRef(U, OS, DumpOpts, Operands, 1); in prettyPrintRegisterOp()
259 bool DWARFExpression::Operation::print(raw_ostream &OS, DIDumpOptions DumpOpts, in print() argument
276 if (prettyPrintRegisterOp(U, OS, DumpOpts, Opcode, Operands, RegInfo, isEH)) in print()
293 prettyPrintBaseTypeRef(U, OS, DumpOpts, Operands, Operand); in print()
318 void DWARFExpression::print(raw_ostream &OS, DIDumpOptions DumpOpts, in print() argument
323 if (!Op.print(OS, DumpOpts, this, RegInfo, U, IsEH)) { in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRnglists.cpp184 uint64_t &CurrentBase, DIDumpOptions DumpOpts, in dump() argument
188 uint8_t AddrSize, DIDumpOptions DumpOpts) { in dump() argument
189 if (DumpOpts.Verbose) { in dump()
190 DumpOpts.DisplayRawContents = true; in dump()
192 .dump(OS, AddrSize, DumpOpts); in dump()
197 if (DumpOpts.Verbose) { in dump()
211 OS << (DumpOpts.Verbose ? "" : "<End of list>"); in dump()
218 if (!DumpOpts.Verbose) in dump()
226 if (!DumpOpts.Verbose) in dump()
231 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
[all …]
DDWARFDie.cpp61 const DIDumpOptions &DumpOpts) { in dumpRanges() argument
62 if (!DumpOpts.ShowAddresses) in dumpRanges()
68 R.dump(OS, AddressSize, DumpOpts, &Obj); in dumpRanges()
74 DIDumpOptions DumpOpts) { in dumpLocation() argument
91 FormValue.dump(OS, DumpOpts); in dumpLocation()
99 MRI, Ctx.getDWARFObj(), U, DumpOpts, in dumpLocation()
104 FormValue.dump(OS, DumpOpts); in dumpLocation()
236 DIDumpOptions DumpOpts) { in dumpAttribute() argument
244 if (DumpOpts.Verbose || DumpOpts.ShowForm) in dumpAttribute()
272 else if (Attr == DW_AT_high_pc && !DumpOpts.ShowForm && !DumpOpts.Verbose && in dumpAttribute()
[all …]
DDWARFFormValue.cpp367 DIDumpOptions DumpOpts, in dumpSectionedAddress() argument
370 dumpAddressSection(U->getContext().getDWARFObj(), OS, DumpOpts, in dumpSectionedAddress()
375 DIDumpOptions DumpOpts, in dumpAddressSection() argument
377 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
389 void DWARFFormValue::dump(raw_ostream &OS, DIDumpOptions DumpOpts) const { in dump()
392 raw_ostream &AddrOS = DumpOpts.ShowAddresses in dump()
397 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
410 if (!A || DumpOpts.Verbose) in dump()
413 dumpSectionedAddress(AddrOS, DumpOpts, *A); in dump()
489 if (DumpOpts.Verbose) in dump()
[all …]
DDWARFAddressRange.cpp17 DIDumpOptions DumpOpts, in dump() argument
20 OS << (DumpOpts.DisplayRawContents ? " " : "["); in dump()
23 OS << (DumpOpts.DisplayRawContents ? "" : ")"); in dump()
26 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
DDWARFDebugLoc.cpp125 DIDumpOptions DumpOpts, in dumpLocationList() argument
136 if (!Loc || DumpOpts.DisplayRawContents) in dumpLocationList()
137 dumpRawEntry(E, OS, Indent, DumpOpts, Obj); in dumpLocationList()
141 if (DumpOpts.DisplayRawContents) in dumpLocationList()
144 DIDumpOptions RangeDumpOpts(DumpOpts); in dumpLocationList()
188 const DWARFObject &Obj, DIDumpOptions DumpOpts, in dump() argument
193 dumpLocationList(&*DumpOffset, OS, BaseAddr, MRI, Obj, nullptr, DumpOpts, in dump()
204 DumpOpts, Indent); in dump()
252 DIDumpOptions DumpOpts, in dumpRawEntry() argument
274 DWARFFormValue::dumpAddressSection(Obj, OS, DumpOpts, Entry.SectionIndex); in dumpRawEntry()
[all …]
DDWARFTypeUnit.cpp20 void DWARFTypeUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump() argument
24 if (DumpOpts.SummarizeTypes) { in dump()
46 TU.dump(OS, 0, DumpOpts); in dump()
DDWARFCompileUnit.cpp17 void DWARFCompileUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump() argument
32 CUDie.dump(OS, 0, DumpOpts); in dump()
DDWARFContext.cpp244 DIDumpOptions DumpOpts, uint16_t Version, in dumpAddrSection() argument
259 AddrTable.dump(OS, DumpOpts); in dumpAddrSection()
269 DIDumpOptions DumpOpts) { in dumpRnglistsSection() argument
283 Rnglists.dump(OS, LookupPooledAddress, DumpOpts); in dumpRnglistsSection()
288 static void dumpLoclistsSection(raw_ostream &OS, DIDumpOptions DumpOpts, in dumpLoclistsSection() argument
302 Header.dump(OS, DumpOpts); in dumpLoclistsSection()
311 DumpOpts, /*Indent=*/0); in dumpLoclistsSection()
316 Loc.dumpRange(Offset, EndOffset - Offset, OS, MRI, Obj, DumpOpts); in dumpLoclistsSection()
323 raw_ostream &OS, DIDumpOptions DumpOpts, in dump() argument
326 uint64_t DumpType = DumpOpts.DumpType; in dump()
[all …]
/external/llvm-project/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp268 DIDumpOptions DumpOpts; in getDumpOpts() local
269 DumpOpts.DumpType = DumpType; in getDumpOpts()
270 DumpOpts.ChildRecurseDepth = ChildRecurseDepth; in getDumpOpts()
271 DumpOpts.ParentRecurseDepth = ParentRecurseDepth; in getDumpOpts()
272 DumpOpts.ShowAddresses = !Diff; in getDumpOpts()
273 DumpOpts.ShowChildren = ShowChildren; in getDumpOpts()
274 DumpOpts.ShowParents = ShowParents; in getDumpOpts()
275 DumpOpts.ShowForm = ShowForm; in getDumpOpts()
276 DumpOpts.SummarizeTypes = SummarizeTypes; in getDumpOpts()
277 DumpOpts.Verbose = Verbose; in getDumpOpts()
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLoc.h67 DWARFUnit *U, DIDumpOptions DumpOpts,
81 unsigned Indent, DIDumpOptions DumpOpts,
109 const DWARFObject &Obj, DIDumpOptions DumpOpts,
118 unsigned Indent, DIDumpOptions DumpOpts,
134 DIDumpOptions DumpOpts);
138 unsigned Indent, DIDumpOptions DumpOpts,
DDWARFListTable.h114 DIDumpOptions DumpOpts = {}) const;
182 DIDumpOptions DumpOpts = {}) const;
253 DIDumpOptions DumpOpts) const { in dump() argument
254 Header.dump(Data, OS, DumpOpts); in dump()
260 if (DumpOpts.Verbose) { in dump()
272 DumpOpts, LookupPooledAddress); in dump()
DDWARFDebugFrame.h74 void dump(raw_ostream &OS, DIDumpOptions DumpOpts, const MCRegisterInfo *MRI,
124 void printOperand(raw_ostream &OS, DIDumpOptions DumpOpts,
150 virtual void dump(raw_ostream &OS, DIDumpOptions DumpOpts,
205 void dump(raw_ostream &OS, DIDumpOptions DumpOpts, const MCRegisterInfo *MRI,
246 void dump(raw_ostream &OS, DIDumpOptions DumpOpts, const MCRegisterInfo *MRI,
289 void dump(raw_ostream &OS, DIDumpOptions DumpOpts, const MCRegisterInfo *MRI,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLoc.h67 DWARFUnit *U, DIDumpOptions DumpOpts,
79 unsigned Indent, DIDumpOptions DumpOpts,
107 const DWARFObject &Obj, DIDumpOptions DumpOpts,
116 unsigned Indent, DIDumpOptions DumpOpts,
132 DIDumpOptions DumpOpts);
136 unsigned Indent, DIDumpOptions DumpOpts,
DDWARFListTable.h118 void dump(raw_ostream &OS, DIDumpOptions DumpOpts = {}) const;
175 DIDumpOptions DumpOpts = {}) const;
246 DIDumpOptions DumpOpts) const { in dump() argument
247 Header.dump(OS, DumpOpts); in dump()
253 if (DumpOpts.Verbose) { in dump()
265 DumpOpts, LookupPooledAddress); in dump()

123