Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
HDPDBContext.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()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
HDIntelJITEventListener.cpp115 std::vector<LineNumberInfo> LineInfo; in notifyObjectLoaded() local
166 LineInfo.push_back( in notifyObjectLoaded()
169 if (LineInfo.size() == 0) { in notifyObjectLoaded()
180 LineNumberInfo last = LineInfo.back(); in notifyObjectLoaded()
182 LineInfo.push_back(last); in notifyObjectLoaded()
183 for (size_t i = LineInfo.size() - 2; i > 0; --i) in notifyObjectLoaded()
184 LineInfo[i].LineNumber = LineInfo[i - 1].LineNumber; in notifyObjectLoaded()
189 FunctionMessage.line_number_size = LineInfo.size(); in notifyObjectLoaded()
190 FunctionMessage.line_number_table = &*LineInfo.begin(); in notifyObjectLoaded()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
HDLine.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()
HDDebugLinesSubsection.h124 void addLineInfo(uint32_t Offset, const LineInfo &Line);
125 void addLineAndColumnInfo(uint32_t Offset, const LineInfo &Line,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
HDPerfJITEventListener.cpp471 LLVMPerfJitDebugEntry LineInfo; in NotifyDebug() local
474 LineInfo.Addr = It->first; in NotifyDebug()
478 LineInfo.Addr += 0x40; in NotifyDebug()
479 LineInfo.Lineno = Line.Line; in NotifyDebug()
480 LineInfo.Discrim = Line.Discriminator; in NotifyDebug()
482 Dumpstream->write(reinterpret_cast<const char *>(&LineInfo), in NotifyDebug()
483 sizeof(LineInfo)); in NotifyDebug()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
HDGCOV.h426 if (Line > LineInfo[Filename].LastLine) in addBlockLine()
427 LineInfo[Filename].LastLine = Line; in addBlockLine()
428 LineInfo[Filename].Blocks[Line - 1].push_back(Block); in addBlockLine()
433 if (Line > LineInfo[Filename].LastLine) in addFunctionLine()
434 LineInfo[Filename].LastLine = Line; in addFunctionLine()
435 LineInfo[Filename].Functions[Line - 1].push_back(Function); in addFunctionLine()
459 StringMap<LineData> LineInfo; variable
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
HDLine.cpp14 LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) { in LineInfo() function in LineInfo
HDDebugLinesSubsection.cpp81 void DebugLinesSubsection::addLineInfo(uint32_t Offset, const LineInfo &Line) { in addLineInfo()
90 const LineInfo &Line, in addLineAndColumnInfo()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
HDBTFDebug.cpp730 BTFLineInfo LineInfo; in constructLineInfo() local
732 LineInfo.Label = Label; in constructLineInfo()
733 LineInfo.FileNameOff = addString(FileName); in constructLineInfo()
736 LineInfo.LineOff = addString(FileContent[FileName][Line]); in constructLineInfo()
738 LineInfo.LineOff = 0; in constructLineInfo()
739 LineInfo.LineNum = Line; in constructLineInfo()
740 LineInfo.ColumnNum = Column; in constructLineInfo()
741 LineInfoTable[SecNameOff].push_back(LineInfo); in constructLineInfo()
850 for (const auto &LineInfo : LineSec.second) { in emitBTFExtSection() local
851 Asm->EmitLabelReference(LineInfo.Label, 4); in emitBTFExtSection()
[all …]
/freebsd-11-stable/lib/libedit/
HDhistedit.h67 } LineInfo; typedef
180 const LineInfo *el_line(EditLine *);
246 int tok_line(Tokenizer *, const LineInfo *,
HDel.h139 LineInfo el_lgcylinfo; /* Legacy LineInfo buffer */
HDeln.c365 const LineInfo *
369 LineInfo *info = &el->el_lgcylinfo; in el_line()
HDtokenizer.c195 FUN(tok,line)(TYPE(Tokenizer) *tok, const TYPE(LineInfo) *line, in FUN()
449 TYPE(LineInfo) li; in FUN()
HDel.c498 public const TYPE(LineInfo) * in TYPE() argument
502 return (const TYPE(LineInfo) *)(void *)&el->el_line; in TYPE()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
HDMCCodeView.h101 struct LineInfo { struct
107 LineInfo InlinedAt;
117 DenseMap<unsigned, LineInfo> InlinedAtMap;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
HDllvm-objdump.cpp575 bool SourcePrinter::cacheSource(const DILineInfo &LineInfo) { in cacheSource() argument
577 if (LineInfo.Source) { in cacheSource()
578 Buffer = MemoryBuffer::getMemBuffer(*LineInfo.Source); in cacheSource()
580 auto BufferOrError = MemoryBuffer::getFile(LineInfo.FileName); in cacheSource()
582 if (MissingSources.insert(LineInfo.FileName).second) in cacheSource()
583 reportWarning("failed to find source " + LineInfo.FileName, in cacheSource()
592 std::vector<StringRef> &Lines = LineCache[LineInfo.FileName]; in cacheSource()
601 SourceCache[LineInfo.FileName] = std::move(Buffer); in cacheSource()
612 DILineInfo LineInfo = DILineInfo(); in printSourceLine() local
618 LineInfo = *ExpectedLineInfo; in printSourceLine()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
HDSymbolizableObjectFile.cpp259 DILineInfo LineInfo = DebugInfoContext->getLineInfoForAddress( in symbolizeCode() local
268 LineInfo.FunctionName = FunctionName; in symbolizeCode()
271 return LineInfo; in symbolizeCode()
HDSymbolize.cpp54 DILineInfo LineInfo = Info->symbolizeCode(ModuleOffset, Opts.PrintFunctions, in symbolizeCodeCommon() local
57 LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); in symbolizeCodeCommon()
58 return LineInfo; in symbolizeCodeCommon()
/freebsd-11-stable/lib/libedit/TEST/
HDtc1.c94 const LineInfo *lf = el_line(el); in complete()
182 const LineInfo *li; in main()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
HDASTConsumers.h37 bool SilenceRewriteMacroWarning, bool LineInfo);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
HDMCCodeView.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()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
HDCOFFDumper.cpp1120 DebugLinesSubsectionRef LineInfo; in printCodeViewSymbolSection() local
1121 if (Error E = LineInfo.initialize(Reader)) in printCodeViewSymbolSection()
1124 W.printHex("Flags", LineInfo.header()->Flags); in printCodeViewSymbolSection()
1125 W.printHex("CodeSize", LineInfo.header()->CodeSize); in printCodeViewSymbolSection()
1126 for (const auto &Entry : LineInfo) { in printCodeViewSymbolSection()
1132 if (Line.Offset >= LineInfo.header()->CodeSize) { in printCodeViewSymbolSection()
1140 codeview::LineInfo LI(Line.Flags); in printCodeViewSymbolSection()
1150 if (LineInfo.hasColumnInfo()) { in printCodeViewSymbolSection()
/freebsd-11-stable/usr.bin/bc/
HDscan.l250 const LineInfo *info;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
HDllvm-dwarfdump.cpp406 if (DILineInfo LineInfo = DICtx.getLineInfoForAddress( in lookup() local
408 LineInfo.dump(OS); in lookup()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
HDCodeViewYAMLDebugSections.cpp429 LineInfo(L.LineStart, LE, L.IsStatement), in toCodeViewSubsection()
435 Result->addLineInfo(L.Offset, LineInfo(L.LineStart, LE, L.IsStatement)); in toCodeViewSubsection()
605 LineInfo LI(LN.Flags); in fromCodeViewSubsection()

12