Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
DSourcePrinter.cpp334 bool SourcePrinter::cacheSource(const DILineInfo &LineInfo) { in cacheSource() argument
336 if (LineInfo.Source) { in cacheSource()
337 Buffer = MemoryBuffer::getMemBuffer(*LineInfo.Source); in cacheSource()
339 auto BufferOrError = MemoryBuffer::getFile(LineInfo.FileName); in cacheSource()
341 if (MissingSources.insert(LineInfo.FileName).second) in cacheSource()
342 reportWarning("failed to find source " + LineInfo.FileName, in cacheSource()
351 std::vector<StringRef> &Lines = LineCache[LineInfo.FileName]; in cacheSource()
360 SourceCache[LineInfo.FileName] = std::move(Buffer); in cacheSource()
372 DILineInfo LineInfo = DILineInfo(); in printSourceLine() local
377 LineInfo = *ExpectedLineInfo; in printSourceLine()
[all …]
DSourcePrinter.h145 void printLines(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
148 void printSources(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
DPDBContext.cpp53 auto LineInfo = LineNumbers->getNext(); in getLineInfoForAddress() local
54 assert(LineInfo); in getLineInfoForAddress()
55 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); 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
79 {LineInfo->getVirtualAddress(), Address.SectionIndex}, Specifier); in getLineInfoForAddressRange()
80 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
114 DILineInfo LineInfo; in getInliningInfoForAddress() local
115 LineInfo.FunctionName = Frame->getName(); in getInliningInfoForAddress()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
DDIPrinter.cpp298 const DILineInfo &LineInfo = Info.getFrame(I); in print() local
300 {{"FunctionName", LineInfo.FunctionName != DILineInfo::BadString in print()
301 ? LineInfo.FunctionName in print()
303 {"StartFileName", LineInfo.StartFileName != DILineInfo::BadString 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()
[all …]
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()
DSymbolize.cpp63 DILineInfo LineInfo = Info->symbolizeCode( in symbolizeCodeCommon() local
67 LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); in symbolizeCodeCommon()
68 return LineInfo; in symbolizeCodeCommon()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
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()
DDebugLinesSubsection.h124 void addLineInfo(uint32_t Offset, const LineInfo &Line);
125 void addLineAndColumnInfo(uint32_t Offset, const LineInfo &Line,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
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-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
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-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
DLine.cpp14 LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) { in LineInfo() function in LineInfo
DDebugLinesSubsection.cpp81 void DebugLinesSubsection::addLineInfo(uint32_t Offset, const LineInfo &Line) { in addLineInfo()
90 const LineInfo &Line, in addLineAndColumnInfo()
/freebsd-12-stable/contrib/libedit/
Dhistedit.h66 } LineInfo; typedef
179 const LineInfo *el_line(EditLine *);
246 int tok_line(Tokenizer *, const LineInfo *,
Deln.c358 const LineInfo *
362 LineInfo *info = &el->el_lgcylinfo; in el_line()
Del.h141 LineInfo el_lgcylinfo; /* Legacy LineInfo buffer */
Dtokenizer.c206 FUN(tok,line)(TYPE(Tokenizer) *tok, const TYPE(LineInfo) *line, in FUN()
460 TYPE(LineInfo) li; in FUN()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
DBTFDebug.cpp759 BTFLineInfo LineInfo; in constructLineInfo() local
761 LineInfo.Label = Label; in constructLineInfo()
762 LineInfo.FileNameOff = addString(FileName); in constructLineInfo()
765 LineInfo.LineOff = addString(FileContent[FileName][Line]); 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
880 Asm->emitLabelReference(LineInfo.Label, 4); in emitBTFExtSection()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DNativeLineNumber.h22 const codeview::LineInfo Line,
42 const codeview::LineInfo Line;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
DMCCodeView.h101 struct LineInfo { struct
107 LineInfo InlinedAt;
117 DenseMap<unsigned, LineInfo> InlinedAtMap;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ProfileData/
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-12-stable/contrib/libedit/TEST/
Dtc1.c93 const LineInfo *lf = el_line(el); in complete()
181 const LineInfo *li; in main()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
DASTConsumers.h37 bool SilenceRewriteMacroWarning, bool LineInfo);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeLineNumber.cpp15 const codeview::LineInfo Line, in NativeLineNumber()
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-12-stable/contrib/llvm-project/llvm/lib/MC/
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