Lines Matching defs:DwarfDebug
1 //===- llvm/CodeGen/DwarfDebug.cpp - Dwarf Debug Framework ----------------===//
13 #include "DwarfDebug.h"
153 static cl::opt<DwarfDebug::MinimizeAddrInV5> MinimizeAddrInV5Option(
157 cl::values(clEnumValN(DwarfDebug::MinimizeAddrInV5::Default, "Default",
159 clEnumValN(DwarfDebug::MinimizeAddrInV5::Ranges, "Ranges",
162 clEnumValN(DwarfDebug::MinimizeAddrInV5::Expressions,
166 clEnumValN(DwarfDebug::MinimizeAddrInV5::Form, "Form",
169 clEnumValN(DwarfDebug::MinimizeAddrInV5::Disabled, "Disabled",
171 cl::init(DwarfDebug::MinimizeAddrInV5::Default));
330 DwarfDebug::DwarfDebug(AsmPrinter *A)
445 // Define out of line so we don't have to include DwarfUnit.h in DwarfDebug.h.
446 DwarfDebug::~DwarfDebug() = default;
476 void DwarfDebug::addSubprogramNames(
513 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) {
537 bool DwarfDebug::shareAcrossDWOCUs() const {
541 void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU,
874 void DwarfDebug::constructCallSiteEntryDIEs(const DISubprogram &SP,
1002 void DwarfDebug::addGnuPubAttributes(DwarfCompileUnit &U, DIE &D) const {
1009 void DwarfDebug::finishUnitAttributes(const DICompileUnit *DIUnit,
1075 DwarfDebug::getOrCreateDwarfCompileUnit(const DICompileUnit *DIUnit) {
1145 void DwarfDebug::beginModule(Module *M) {
1230 void DwarfDebug::finishEntityDefinitions() {
1243 void DwarfDebug::finishSubprogramDefinitions() {
1252 void DwarfDebug::finalizeModuleInfo() {
1402 void DwarfDebug::endModule() {
1502 void DwarfDebug::ensureAbstractEntityIsCreatedIfScoped(DwarfCompileUnit &CU,
1528 void DwarfDebug::collectVariableInfoFromMFTable(
1531 LLVM_DEBUG(dbgs() << "DwarfDebug: collecting variables from MF side table\n");
1690 bool DwarfDebug::buildLocationList(SmallVectorImpl<DebugLocEntry> &DebugLoc,
1850 DbgEntity *DwarfDebug::createConcreteEntity(DwarfCompileUnit &TheCU,
1873 void DwarfDebug::collectEntityInfo(DwarfCompileUnit &TheCU,
2000 void DwarfDebug::beginInstruction(const MachineInstr *MI) {
2189 DebugLoc DwarfDebug::emitInitialLocDirective(const MachineFunction &MF,
2217 void DwarfDebug::beginFunctionImpl(const MachineFunction *MF) {
2236 DwarfDebug::getDwarfCompileUnitIDForLineTable(const DwarfCompileUnit &CU) {
2247 void DwarfDebug::terminateLineTable(const DwarfCompileUnit *CU) {
2256 void DwarfDebug::skippedNonDebugFunction() {
2268 void DwarfDebug::endFunctionImpl(const MachineFunction *MF) {
2359 void DwarfDebug::recordSourceLine(unsigned Line, unsigned Col, const MDNode *S,
2371 void DwarfDebug::emitDebugInfo() {
2377 void DwarfDebug::emitAbbreviations() {
2383 void DwarfDebug::emitStringOffsetsTableHeader() {
2391 void DwarfDebug::emitAccel(AccelTableT &Accel, MCSection *Section,
2399 void DwarfDebug::emitAccelDebugNames() {
2408 void DwarfDebug::emitAccelNames() {
2415 void DwarfDebug::emitAccelObjC() {
2421 void DwarfDebug::emitAccelNamespaces() {
2428 void DwarfDebug::emitAccelTypes() {
2504 void DwarfDebug::emitDebugPubSections() {
2525 void DwarfDebug::emitSectionReference(const DwarfCompileUnit &CU) {
2533 void DwarfDebug::emitDebugPubSection(bool GnuStyle, StringRef Name,
2581 void DwarfDebug::emitDebugStr() {
2592 void DwarfDebug::emitDebugLocEntry(ByteStreamer &Streamer,
2636 void DwarfDebug::emitDebugLocValue(const AsmPrinter &AP, const DIBasicType *BT,
2750 DwarfDebug::emitDebugLocValue(AP, BT, Fragment, DwarfExpr);
2754 DwarfDebug::emitDebugLocValue(AP, BT, Value, DwarfExpr);
2761 void DwarfDebug::emitDebugLocEntryLocation(const DebugLocStream::Entry &Entry,
2802 const DwarfDebug &DD) {
2820 DwarfDebug &DD, AsmPrinter *Asm, MCSymbol *Sym, const Ranges &R,
2915 static void emitLocList(DwarfDebug &DD, AsmPrinter *Asm, const DebugLocStream::List &List) {
2926 void DwarfDebug::emitDebugLocImpl(MCSection *Sec) {
2944 void DwarfDebug::emitDebugLoc() {
2952 void DwarfDebug::emitDebugLocDWO() {
2992 void DwarfDebug::emitDebugARanges() {
3141 static void emitRangeList(DwarfDebug &DD, AsmPrinter *Asm,
3152 void DwarfDebug::emitDebugRangesImpl(const DwarfFile &Holder, MCSection *Section) {
3177 void DwarfDebug::emitDebugRanges() {
3186 void DwarfDebug::emitDebugRangesDWO() {
3193 static void emitMacroHeader(AsmPrinter *Asm, const DwarfDebug &DD,
3217 void DwarfDebug::handleMacroNodes(DIMacroNodeArray Nodes, DwarfCompileUnit &U) {
3228 void DwarfDebug::emitMacro(DIMacro &M) {
3271 void DwarfDebug::emitMacroFileImpl(
3292 void DwarfDebug::emitMacroFile(DIMacroFile &F, DwarfCompileUnit &U) {
3305 void DwarfDebug::emitDebugMacinfoImpl(MCSection *Section) {
3325 void DwarfDebug::emitDebugMacinfo() {
3332 void DwarfDebug::emitDebugMacinfoDWO() {
3341 void DwarfDebug::initSkeletonUnit(const DwarfUnit &U, DIE &Die,
3351 DwarfCompileUnit &DwarfDebug::constructSkeletonCU(const DwarfCompileUnit &CU) {
3371 void DwarfDebug::emitDebugInfoDWO() {
3379 void DwarfDebug::emitDebugAbbrevDWO() {
3384 void DwarfDebug::emitDebugLineDWO() {
3391 void DwarfDebug::emitStringOffsetsTableHeaderDWO() {
3401 void DwarfDebug::emitDebugStrDWO() {
3411 void DwarfDebug::emitDebugAddr() {
3415 MCDwarfDwoLineTable *DwarfDebug::getDwoLineTable(const DwarfCompileUnit &CU) {
3425 uint64_t DwarfDebug::makeTypeSignature(StringRef Identifier) {
3436 void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
3550 void DwarfDebug::addAccelNameImpl(
3593 void DwarfDebug::addAccelName(
3600 void DwarfDebug::addAccelObjC(
3609 void DwarfDebug::addAccelNamespace(
3616 void DwarfDebug::addAccelType(
3623 uint16_t DwarfDebug::getDwarfVersion() const {
3627 dwarf::Form DwarfDebug::getDwarfSectionOffsetForm() const {
3636 const MCSymbol *DwarfDebug::getSectionLabel(const MCSection *S) {
3640 void DwarfDebug::insertSectionLabel(const MCSymbol *S) {
3647 DwarfDebug::getMD5AsBytes(const DIFile *File) const {
3664 bool DwarfDebug::alwaysUseRanges(const DwarfCompileUnit &CU) const {