| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyCompilandDumper.cpp | 41 : PDBSymDumper(true), Printer(P) {} in CompilandDumper() 50 if (Printer.IsCompilandExcluded(FullName)) in start() 53 Printer.NewLine(); in start() 54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start() 59 Printer.Indent(); in start() 61 Printer.NewLine(); in start() 62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start() 66 WithColor(Printer, PDB_ColorItem::Comment).get() in start() 74 Printer.Indent(); in start() 76 Printer.NewLine(); in start() [all …]
|
| H A D | PrettyFunctionDumper.cpp | 38 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer, in dumpClassParentWithScopeOperator() argument 47 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator() 48 Printer << "::"; in dumpClassParentWithScopeOperator() 53 : PDBSymDumper(true), Printer(P) {} in FunctionDumper() 59 Printer << "<unknown-type>"; in start() 62 Printer << " "; in start() 77 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start() 79 Printer << "("; in start() 80 WithColor(Printer, PDB_ColorItem::Identifier).get() in start() 82 Printer << "::)"; in start() [all …]
|
| H A D | PrettyVariableDumper.cpp | 37 : PDBSymDumper(true), Printer(P) {} in VariableDumper() 42 if (Printer.IsSymbolExcluded(Var.getName())) in start() 51 Printer.NewLine(); in start() 52 Printer << "data ["; in start() 53 WithColor(Printer, PDB_ColorItem::Address).get() in start() 55 Printer << ", sizeof=" << Length << "] "; in start() 56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start() 62 Printer.NewLine(); in start() 63 Printer << "data [sizeof=" << Length << "] "; in start() 65 Printer << " = "; in start() [all …]
|
| H A D | PrettyTypeDumper.cpp | 91 filterAndSortClassDefs(LinePrinter &Printer, Enumerator &E, in filterAndSortClassDefs() argument 117 if (Printer.IsTypeExcluded(Class->getName(), Class->getLength())) { in filterAndSortClassDefs() 140 TypeDumper::TypeDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in TypeDumper() 143 static bool isTypeExcluded(LinePrinter &Printer, const T &Symbol) { in isTypeExcluded() argument 147 static bool isTypeExcluded(LinePrinter &Printer, in isTypeExcluded() argument 149 if (Printer.IsTypeExcluded(Enum.getName(), Enum.getLength())) in isTypeExcluded() 157 static bool isTypeExcluded(LinePrinter &Printer, in isTypeExcluded() argument 159 return Printer.IsTypeExcluded(Typedef.getName(), Typedef.getLength()); in isTypeExcluded() 163 static void dumpSymbolCategory(LinePrinter &Printer, const PDBSymbolExe &Exe, in dumpSymbolCategory() argument 166 Printer.NewLine(); in dumpSymbolCategory() [all …]
|
| H A D | PrettyClassDefinitionDumper.cpp | 28 : PDBSymDumper(true), Printer(P) {} in ClassDefinitionDumper() 41 PrettyClassLayoutGraphicalDumper Dumper(Printer, 1, 0); in start() 49 Printer.NewLine(); in prettyPrintClassIntro() 55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro() 57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro() 59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro() 61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro() 62 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro() 63 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro() 67 Printer.Indent(); in prettyPrintClassIntro() [all …]
|
| H A D | PrettyEnumDumper.cpp | 23 EnumDumper::EnumDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in EnumDumper() 28 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start() 30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start() 32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start() 33 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start() 34 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start() 38 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start() 39 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start() 46 Printer << " : "; in start() 47 BuiltinDumper Dumper(Printer); in start() [all …]
|
| H A D | PrettyClassLayoutGraphicalDumper.cpp | 31 : PDBSymDumper(true), Printer(P), RecursionLevel(RecurseLevel), in PrettyClassLayoutGraphicalDumper() 70 VariableDumper VarDumper(Printer); in start() 87 Printer.NewLine(); in start() 88 WithColor(Printer, PDB_ColorItem::Padding).get() in start() 101 Printer.NewLine(); in printPaddingRow() 102 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow() 111 Printer.NewLine(); in dump() 120 Printer << Label << " "; in dump() 124 WithColor(Printer, PDB_ColorItem::Offset).get() in dump() 128 WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName(); in dump() [all …]
|
| H A D | PrettyTypedefDumper.cpp | 29 TypedefDumper::TypedefDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in TypedefDumper() 32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start() 36 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start() 41 TypeDumper Dumper(Printer); in dump() 46 BuiltinDumper Dumper(Printer); in dump() 51 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump() 52 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump() 57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump() 59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump() 65 FunctionDumper NestedDumper(Printer); in dump() [all …]
|
| H A D | PrettyExternalSymbolDumper.cpp | 21 : PDBSymDumper(true), Printer(P) {} in ExternalSymbolDumper() 32 if (Printer.IsSymbolExcluded(LinkageName)) in dump() 35 Printer.NewLine(); in dump() 38 Printer << "public ["; in dump() 39 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10); in dump() 40 Printer << "] "; in dump() 41 WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName; in dump()
|
| H A D | llvm-pdbutil.cpp | 968 static void dumpInjectedSources(LinePrinter &Printer, IPDBSession &Session) { in dumpInjectedSources() argument 971 Printer.printLine("There are no injected sources."); in dumpInjectedSources() 976 Printer.NewLine(); in dumpInjectedSources() 983 WithColor(Printer, PDB_ColorItem::Path).get() << File; in dumpInjectedSources() 984 Printer << " ("; in dumpInjectedSources() 985 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Size; in dumpInjectedSources() 986 Printer << " bytes): "; in dumpInjectedSources() 987 WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj"; in dumpInjectedSources() 988 Printer << "="; in dumpInjectedSources() 989 WithColor(Printer, PDB_ColorItem::Path).get() << Obj; in dumpInjectedSources() [all …]
|
| H A D | PrettyBuiltinDumper.cpp | 18 : PDBSymDumper(false), Printer(P) {} in BuiltinDumper() 22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start() 24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start() 25 WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol); in start()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 2107 MDFieldPrinter Printer(Out, WriterCtx); in writeGenericDINode() local 2108 Printer.printTag(N); in writeGenericDINode() 2109 Printer.printString("header", N->getHeader()); in writeGenericDINode() 2111 Out << Printer.FS << "operands: {"; in writeGenericDINode() 2125 MDFieldPrinter Printer(Out, WriterCtx); in writeDILocation() local 2127 Printer.printInt("line", DL->getLine(), /* ShouldSkipZero */ false); in writeDILocation() 2128 Printer.printInt("column", DL->getColumn()); in writeDILocation() 2129 Printer.printMetadata("scope", DL->getRawScope(), /* ShouldSkipNull */ false); in writeDILocation() 2130 Printer.printMetadata("inlinedAt", DL->getRawInlinedAt()); in writeDILocation() 2131 Printer.printBool("isImplicitCode", DL->isImplicitCode(), in writeDILocation() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MCInstLower.cpp | 39 : Ctx(ctx), Printer(printer) {} in AArch64MCInstLower() 48 const Triple &TheTriple = Printer.TM.getTargetTriple(); in GetGlobalValueSymbol() 50 return Printer.getSymbolPreferLocal(*GV); in GetGlobalValueSymbol() 64 return Printer.getSymbol(GV); in GetGlobalValueSymbol() 66 StringRef Name = Printer.getSymbol(GV)->getName(); in GetGlobalValueSymbol() 72 return Printer.getSymbol(GV); in GetGlobalValueSymbol() 78 Printer.OutStreamer->emitSymbolAttribute(Printer.getSymbol(GV), in GetGlobalValueSymbol() 80 Printer.OutStreamer->emitAssignment( in GetGlobalValueSymbol() 81 Printer.getSymbol(GV), MCSymbolRefExpr::create(MangledSym, Ctx)); in GetGlobalValueSymbol() 82 Printer.OutStreamer->emitSymbolAttribute(MangledSym, MCSA_WeakAntiDep); in GetGlobalValueSymbol() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYMCInstLower.cpp | 24 CSKYMCInstLower::CSKYMCInstLower(MCContext &Ctx, AsmPrinter &Printer) in CSKYMCInstLower() argument 25 : Ctx(Ctx), Printer(Printer) {} in CSKYMCInstLower() 40 MCContext &Ctx = Printer.OutContext; in lowerSymbolOperand() 95 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerOperand() 99 MO, Printer.GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand() 103 MO, Printer.GetExternalSymbolSymbol(MO.getSymbolName())); in lowerOperand() 106 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerOperand() 109 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerOperand()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 95 DIPrinter &Printer) { in print() argument 98 Printer.print(Request, *ResOrErr); in print() 106 PrintEmpty = Printer.printError(Request, EI); in print() 110 Printer.print(Request, T()); in print() 285 LLVMSymbolizer &Symbolizer, DIPrinter &Printer) { in executeCommand() argument 294 print(SymRequest, ResOrErr, Printer); in executeCommand() 298 print(SymRequest, ResOrErr, Printer); in executeCommand() 302 print(SymRequest, ResOrErr, Printer); in executeCommand() 306 print(SymRequest, ResOrErr, Printer); in executeCommand() 321 print(SymRequest, Res0OrErr, Printer); in executeCommand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430MCInstLower.cpp | 37 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 47 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 52 const DataLayout &DL = Printer.getDataLayout(); in GetJumpTableSymbol() 55 << Printer.getFunctionNumber() << '_' in GetJumpTableSymbol() 69 const DataLayout &DL = Printer.getDataLayout(); in GetConstantPoolIndexSymbol() 72 << Printer.getFunctionNumber() << '_' in GetConstantPoolIndexSymbol() 91 return Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in GetBlockAddressSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiMCInstLower.cpp | 33 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 38 return Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in GetBlockAddressSymbol() 43 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 48 raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "JTI" in GetJumpTableSymbol() 49 << Printer.getFunctionNumber() << '_' in GetJumpTableSymbol() 58 raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "CPI" in GetConstantPoolIndexSymbol() 59 << Printer.getFunctionNumber() << '_' in GetConstantPoolIndexSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreMCInstLower.cpp | 27 : Printer(asmprinter) {} in XCoreMCInstLower() 41 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 45 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 49 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 53 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand() 56 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCMCInstLower.cpp | 27 : Ctx(C), Printer(AsmPrinter) {} in ARCMCInstLower() 39 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 43 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 47 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 51 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand() 54 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRMCInstLower.h | 28 AVRMCInstLower(MCContext &Ctx, AsmPrinter &Printer) in AVRMCInstLower() argument 29 : Ctx(Ctx), Printer(Printer) {} in AVRMCInstLower() 38 AsmPrinter &Printer; variable
|
| H A D | AVRMCInstLower.cpp | 89 lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal()), Subtarget); in lowerInstruction() 93 MO, Printer.GetExternalSymbolSymbol(MO.getSymbolName()), Subtarget); in lowerInstruction() 103 MO, Printer.GetBlockAddressSymbol(MO.getBlockAddress()), Subtarget); in lowerInstruction() 106 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex()), in lowerInstruction() 110 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex()), in lowerInstruction()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 690 mca::PipelinePrinter Printer(*P, *Region, RegionIdx, *STI, PO); in main() local 692 Printer.addView( in main() 698 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main() 706 Printer.addView( in main() 713 Printer.printReport(JSONOutput); in main() 715 Printer.printReport(TOF->os()); in main() 740 mca::PipelinePrinter Printer(*P, *Region, RegionIdx, *STI, PO); in main() local 754 Printer.addView(std::move(CBView)); in main() 761 Printer.addView(std::move(IV)); in main() 765 Printer.addView( in main() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_symbolize.cpp | 71 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( in __sanitizer_symbolize_code() 82 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_code() 89 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_code() 103 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( in __sanitizer_symbolize_data() 113 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_flush() 126 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( in __sanitizer_symbolize_demangle() 136 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_set_inline_frames() 70 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( __sanitizer_symbolize_code() local 99 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( __sanitizer_symbolize_data() local
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | InputFile.cpp | 150 static void formatInternal(LinePrinter &Printer, bool Append, Args &&...args) { in formatInternal() argument 152 Printer.format(std::forward<Args>(args)...); in formatInternal() 154 Printer.formatLine(std::forward<Args>(args)...); in formatInternal() 259 void SymbolGroup::formatFromFileName(LinePrinter &Printer, StringRef File, in formatFromFileName() argument 263 formatInternal(Printer, Append, "- (no checksum) {0}", File); in formatFromFileName() 267 formatInternal(Printer, Append, "- ({0}: {1}) {2}", in formatFromFileName() 272 void SymbolGroup::formatFromChecksumsOffset(LinePrinter &Printer, in formatFromChecksumsOffset() argument 276 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset() 282 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset() 289 formatInternal(Printer, Appen in formatFromChecksumsOffset() [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMCInstLower.cpp | 28 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 33 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 78 MCOp = LowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in Lower()
|