Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp54 auto LineInfo = LineNumbers->getNext(); in getLineInfoForAddress() local
55 assert(LineInfo); in getLineInfoForAddress()
56 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress()
61 Result.Column = LineInfo->getColumnNumber(); in getLineInfoForAddress()
62 Result.Line = LineInfo->getLineNumber(); in getLineInfoForAddress()
77 while (auto LineInfo = LineNumbers->getNext()) { in getLineInfoForAddressRange() local
79 getLineInfoForAddress(LineInfo->getVirtualAddress(), Specifier); in getLineInfoForAddressRange()
80 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp116 std::vector<LineNumberInfo> LineInfo; in notifyObjectLoaded() local
155 LineInfo.push_back( in notifyObjectLoaded()
158 if (LineInfo.size() == 0) { in notifyObjectLoaded()
169 LineNumberInfo last = LineInfo.back(); in notifyObjectLoaded()
171 LineInfo.push_back(last); in notifyObjectLoaded()
172 for (size_t i = LineInfo.size() - 2; i > 0; --i) in notifyObjectLoaded()
173 LineInfo[i].LineNumber = LineInfo[i - 1].LineNumber; in notifyObjectLoaded()
178 FunctionMessage.line_number_size = LineInfo.size(); in notifyObjectLoaded()
179 FunctionMessage.line_number_table = &*LineInfo.begin(); in notifyObjectLoaded()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DLine.h22 class LineInfo {
37 LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement);
38 LineInfo(uint32_t LineData) : LineData(LineData) {} in LineInfo() function
95 LineInfo LineInf;
104 Line(int32_t CodeOffset, LineInfo LineInf, ColumnInfo ColumnInf) in Line()
107 LineInfo getLineInfo() const { return LineInf; } in getLineInfo()
H A DDebugLinesSubsection.h125 void addLineInfo(uint32_t Offset, const LineInfo &Line);
126 void addLineAndColumnInfo(uint32_t Offset, const LineInfo &Line,
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.cpp528 BTFLineInfo LineInfo; in constructLineInfo() local
530 LineInfo.Label = Label; in constructLineInfo()
531 LineInfo.FileNameOff = addString(FileName); in constructLineInfo()
536 LineInfo.LineOff = 0; in constructLineInfo()
537 LineInfo.LineNum = Line; in constructLineInfo()
538 LineInfo.ColumnNum = Column; in constructLineInfo()
539 LineInfoTable[SecNameOff].push_back(LineInfo); in constructLineInfo()
627 for (const auto &LineInfo : LineSec.second) { in emitBTFExtSection() local
629 OS.EmitIntValue(LineInfo.FileNameOff, 4); in emitBTFExtSection()
630 OS.EmitIntValue(LineInfo.LineOff, 4); in emitBTFExtSection()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp465 LLVMPerfJitDebugEntry LineInfo; in NotifyDebug() local
468 LineInfo.Addr = It->first; in NotifyDebug()
472 LineInfo.Addr += 0x40; in NotifyDebug()
473 LineInfo.Lineno = Line.Line; in NotifyDebug()
474 LineInfo.Discrim = Line.Discriminator; in NotifyDebug()
476 Dumpstream->write(reinterpret_cast<const char *>(&LineInfo), in NotifyDebug()
477 sizeof(LineInfo)); in NotifyDebug()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DLine.cpp15 LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) { in LineInfo() function in LineInfo
H A DDebugLinesSubsection.cpp82 void DebugLinesSubsection::addLineInfo(uint32_t Offset, const LineInfo &Line) { in addLineInfo()
91 const LineInfo &Line, in addLineAndColumnInfo()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DGCOV.h431 if (Line > LineInfo[Filename].LastLine) in addBlockLine()
432 LineInfo[Filename].LastLine = Line; in addBlockLine()
433 LineInfo[Filename].Blocks[Line - 1].push_back(Block); in addBlockLine()
438 if (Line > LineInfo[Filename].LastLine) in addFunctionLine()
439 LineInfo[Filename].LastLine = Line; in addFunctionLine()
440 LineInfo[Filename].Functions[Line - 1].push_back(Function); in addFunctionLine()
464 StringMap<LineData> LineInfo; variable
/freebsd-12.1/lib/libedit/
H A Dhistedit.h67 } LineInfo; typedef
180 const LineInfo *el_line(EditLine *);
246 int tok_line(Tokenizer *, const LineInfo *,
H A Del.h139 LineInfo el_lgcylinfo; /* Legacy LineInfo buffer */
H A Deln.c365 const LineInfo *
369 LineInfo *info = &el->el_lgcylinfo; in el_line()
H A Dtokenizer.c195 FUN(tok,line)(TYPE(Tokenizer) *tok, const TYPE(LineInfo) *line, in FUN()
449 TYPE(LineInfo) li; in FUN()
H A Del.c498 public const TYPE(LineInfo) * in TYPE() argument
502 return (const TYPE(LineInfo) *)(void *)&el->el_line; in TYPE()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCCodeView.h102 struct LineInfo { struct
108 LineInfo InlinedAt;
118 DenseMap<unsigned, LineInfo> InlinedAtMap;
/freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp224 DILineInfo LineInfo; in symbolizeCode() local
226 LineInfo = DebugInfoContext->getLineInfoForAddress( in symbolizeCode()
235 LineInfo.FunctionName = FunctionName; in symbolizeCode()
238 return LineInfo; in symbolizeCode()
H A DSymbolize.cpp75 DILineInfo LineInfo = Info->symbolizeCode(ModuleOffset, Opts.PrintFunctions, in symbolizeCode() local
78 LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); in symbolizeCode()
79 return LineInfo; in symbolizeCode()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp943 if (LineInfo.Source) { in cacheSource()
944 Buffer = MemoryBuffer::getMemBuffer(*LineInfo.Source); in cacheSource()
963 SourceCache[LineInfo.FileName] = std::move(Buffer); in cacheSource()
971 DILineInfo LineInfo = DILineInfo(); in printSourceLine() local
977 LineInfo = *ExpectecLineInfo; in printSourceLine()
979 if ((LineInfo.FileName == "<invalid>") || OldLineInfo.Line == LineInfo.Line || in printSourceLine()
980 LineInfo.Line == 0) in printSourceLine()
984 OS << Delimiter << LineInfo.FileName << ":" << LineInfo.Line << "\n"; in printSourceLine()
987 if (!cacheSource(LineInfo)) in printSourceLine()
993 if (LineInfo.Line > LineBuffer->second.size()) in printSourceLine()
[all …]
/freebsd-12.1/lib/libedit/TEST/
H A Dtc1.c94 const LineInfo *lf = el_line(el); in complete()
182 const LineInfo *li; in main()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h38 bool SilenceRewriteMacroWarning, bool LineInfo);
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCCodeView.cpp110 MCCVFunctionInfo::LineInfo InlinedAt; in recordInlinedCallSiteId()
292 MCCVFunctionInfo::LineInfo &IA = I->second; in getFunctionLineEntries()
374 LineData |= LineInfo::StatementFlag; in emitLineTableForFunction()
506 MCCVFunctionInfo::LineInfo LastSourceLoc, CurSourceLoc; in encodeInlineLineTable()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1110 DebugLinesSubsectionRef LineInfo; in printCodeViewSymbolSection() local
1111 error(LineInfo.initialize(Reader)); in printCodeViewSymbolSection()
1113 W.printHex("Flags", LineInfo.header()->Flags); in printCodeViewSymbolSection()
1114 W.printHex("CodeSize", LineInfo.header()->CodeSize); in printCodeViewSymbolSection()
1115 for (const auto &Entry : LineInfo) { in printCodeViewSymbolSection()
1121 if (Line.Offset >= LineInfo.header()->CodeSize) { in printCodeViewSymbolSection()
1128 codeview::LineInfo LI(Line.Flags); in printCodeViewSymbolSection()
1138 if (LineInfo.hasColumnInfo()) { in printCodeViewSymbolSection()
/freebsd-12.1/usr.bin/bc/
H A Dscan.l250 const LineInfo *info;
/freebsd-12.1/contrib/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp398 if (DILineInfo LineInfo = DICtx.getLineInfoForAddress(Lookup)) in lookup() local
399 LineInfo.dump(OS); in lookup()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp430 LineInfo(L.LineStart, LE, L.IsStatement), in toCodeViewSubsection()
436 Result->addLineInfo(L.Offset, LineInfo(L.LineStart, LE, L.IsStatement)); in toCodeViewSubsection()
606 LineInfo LI(LN.Flags); in fromCodeViewSubsection()

12