Home
last modified time | relevance | path

Searched refs:LineInfo (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp336 if (LineInfo.Source) { in cacheSource()
372 DILineInfo LineInfo = DILineInfo(); in printSourceLine() local
377 LineInfo = *ExpectedLineInfo; in printSourceLine()
390 assert(!LineInfo.FileName.empty()); in printSourceLine()
405 LineInfo.FileName = in printSourceLine()
419 OldLineInfo = LineInfo; in printSourceLine()
435 if (LineInfo.FileName != DILineInfo::BadString && LineInfo.Line != 0 && in printLines()
438 OS << Delimiter << LineInfo.FileName << ":" << LineInfo.Line; in printLines()
447 if (LineInfo.FileName == DILineInfo::BadString || LineInfo.Line == 0 || in printSources()
453 if (!cacheSource(LineInfo)) in printSources()
[all …]
H A DSourcePrinter.h145 void printLines(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
148 void printSources(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp53 auto LineInfo = LineNumbers->getNext(); in getLineInfoForAddress() local
54 assert(LineInfo); in getLineInfoForAddress()
60 Result.Column = LineInfo->getColumnNumber(); in getLineInfoForAddress()
61 Result.Line = LineInfo->getLineNumber(); in getLineInfoForAddress()
77 while (auto LineInfo = LineNumbers->getNext()) { in getLineInfoForAddressRange() local
114 DILineInfo LineInfo; in getInliningInfoForAddress() local
115 LineInfo.FunctionName = Frame->getName(); in getInliningInfoForAddress()
119 LineInfo.FileName = SourceFile->getFileName(); in getInliningInfoForAddress()
120 LineInfo.Line = Line->getLineNumber(); in getInliningInfoForAddress()
121 LineInfo.Column = Line->getColumnNumber(); in getInliningInfoForAddress()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp298 const DILineInfo &LineInfo = Info.getFrame(I); in print() local
301 ? LineInfo.FunctionName in print()
304 ? LineInfo.StartFileName in print()
306 {"StartLine", LineInfo.StartLine}, in print()
308 LineInfo.StartAddress ? toHex(*LineInfo.StartAddress) : ""}, in print()
310 LineInfo.FileName != DILineInfo::BadString ? LineInfo.FileName : ""}, in print()
311 {"Line", LineInfo.Line}, in print()
312 {"Column", LineInfo.Column}, in print()
313 {"Discriminator", LineInfo.Discriminator}}); in print()
314 SourceCode SourceCode(LineInfo.FileName, LineInfo.Line, in print()
[all …]
H A DSymbolizableObjectFile.cpp275 DILineInfo LineInfo = in symbolizeCode() local
284 LineInfo.FunctionName = FunctionName; in symbolizeCode()
285 LineInfo.StartAddress = Start; in symbolizeCode()
286 if (LineInfo.FileName == DILineInfo::BadString && !FileName.empty()) in symbolizeCode()
287 LineInfo.FileName = FileName; in symbolizeCode()
290 return LineInfo; in symbolizeCode()
H A DSymbolize.cpp63 DILineInfo LineInfo = Info->symbolizeCode( in symbolizeCodeCommon() local
67 LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); in symbolizeCodeCommon()
68 return LineInfo; in symbolizeCodeCommon()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DLine.h21 class LineInfo {
36 LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement);
37 LineInfo(uint32_t LineData) : LineData(LineData) {} in LineInfo() function
94 LineInfo LineInf;
103 Line(int32_t CodeOffset, LineInfo LineInf, ColumnInfo ColumnInf) in Line()
106 LineInfo getLineInfo() const { return LineInf; } in getLineInfo()
H A DDebugLinesSubsection.h124 void addLineInfo(uint32_t Offset, const LineInfo &Line);
125 void addLineAndColumnInfo(uint32_t Offset, const LineInfo &Line,
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp244 std::vector<LineNumberInfo> LineInfo; in notifyObjectLoaded() local
295 LineInfo.push_back( in notifyObjectLoaded()
298 if (LineInfo.size() == 0) { in notifyObjectLoaded()
309 LineNumberInfo last = LineInfo.back(); in notifyObjectLoaded()
311 LineInfo.push_back(last); in notifyObjectLoaded()
312 for (size_t i = LineInfo.size() - 2; i > 0; --i) in notifyObjectLoaded()
313 LineInfo[i].LineNumber = LineInfo[i - 1].LineNumber; in notifyObjectLoaded()
318 FunctionMessage.line_number_size = LineInfo.size(); in notifyObjectLoaded()
319 FunctionMessage.line_number_table = &*LineInfo.begin(); in notifyObjectLoaded()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp474 LLVMPerfJitDebugEntry LineInfo; in NotifyDebug() local
477 LineInfo.Addr = It->first; in NotifyDebug()
481 LineInfo.Addr += 0x40; in NotifyDebug()
482 LineInfo.Lineno = Line.Line; in NotifyDebug()
483 LineInfo.Discrim = Line.Discriminator; in NotifyDebug()
485 Dumpstream->write(reinterpret_cast<const char *>(&LineInfo), in NotifyDebug()
486 sizeof(LineInfo)); in NotifyDebug()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLine.cpp14 LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) { in LineInfo() function in LineInfo
H A DDebugLinesSubsection.cpp81 void DebugLinesSubsection::addLineInfo(uint32_t Offset, const LineInfo &Line) { in addLineInfo()
90 const LineInfo &Line, in addLineAndColumnInfo()
/freebsd-13.1/contrib/libedit/
H A Dhistedit.h66 } LineInfo; typedef
179 const LineInfo *el_line(EditLine *);
246 int tok_line(Tokenizer *, const LineInfo *,
H A Del.h141 LineInfo el_lgcylinfo; /* Legacy LineInfo buffer */
H A Deln.c358 const LineInfo *
362 LineInfo *info = &el->el_lgcylinfo; in el_line()
H A Dtokenizer.c206 FUN(tok,line)(TYPE(Tokenizer) *tok, const TYPE(LineInfo) *line, in FUN()
460 TYPE(LineInfo) li; in FUN()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeLineNumber.h22 const codeview::LineInfo Line,
42 const codeview::LineInfo Line;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h101 struct LineInfo { struct
107 LineInfo InlinedAt;
117 DenseMap<unsigned, LineInfo> InlinedAtMap;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp759 BTFLineInfo LineInfo; in constructLineInfo() local
761 LineInfo.Label = Label; in constructLineInfo()
762 LineInfo.FileNameOff = addString(FileName); in constructLineInfo()
767 LineInfo.LineOff = 0; in constructLineInfo()
768 LineInfo.LineNum = Line; in constructLineInfo()
769 LineInfo.ColumnNum = Column; in constructLineInfo()
770 LineInfoTable[SecNameOff].push_back(LineInfo); in constructLineInfo()
879 for (const auto &LineInfo : LineSec.second) { in emitBTFExtSection() local
881 OS.emitInt32(LineInfo.FileNameOff); in emitBTFExtSection()
882 OS.emitInt32(LineInfo.LineOff); in emitBTFExtSection()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp56 struct LineInfo { struct
66 std::vector<LineInfo> lines;
85 void collectSourceLine(SourceInfo &si, Summary *summary, LineInfo &line,
673 LineInfo &line = si.lines[lineNum]; in collectFunction()
686 LineInfo &line, size_t lineNum) const { in collectSourceLine()
736 for (LineInfo &line : si.lines) { in collectSource()
762 const LineInfo &line = si.lines[lineNum]; in annotateSource()
807 const LineInfo &line = si.lines[lineNum]; in printSourceToIntermediate()
/freebsd-13.1/contrib/libedit/TEST/
H A Dtc1.c93 const LineInfo *lf = el_line(el); in complete()
181 const LineInfo *li; in main()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h37 bool SilenceRewriteMacroWarning, bool LineInfo);
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeLineNumber.cpp15 const codeview::LineInfo Line, in NativeLineNumber()
H A DSymbolCache.cpp488 LineInfo FirstLine(Group.LineNumbers.front().Flags); in findLineTable()
496 LineInfo Line(LN.Flags); in findLineTable()
508 LineInfo LastLine(Group.LineNumbers.back().Flags); in findLineTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp109 MCCVFunctionInfo::LineInfo InlinedAt; in recordInlinedCallSiteId()
291 MCCVFunctionInfo::LineInfo &IA = I->second; in getFunctionLineEntries()
373 LineData |= LineInfo::StatementFlag; in emitLineTableForFunction()
505 MCCVFunctionInfo::LineInfo LastSourceLoc, CurSourceLoc; in encodeInlineLineTable()

12