Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp342 bool SourcePrinter::cacheSource(const DILineInfo &LineInfo) { in cacheSource() argument
344 if (LineInfo.Source) { in cacheSource()
345 Buffer = MemoryBuffer::getMemBuffer(*LineInfo.Source); in cacheSource()
347 auto BufferOrError = MemoryBuffer::getFile(LineInfo.FileName); in cacheSource()
349 if (MissingSources.insert(LineInfo.FileName).second) in cacheSource()
350 reportWarning("failed to find source " + LineInfo.FileName, in cacheSource()
359 std::vector<StringRef> &Lines = LineCache[LineInfo.FileName]; in cacheSource()
368 SourceCache[LineInfo.FileName] = std::move(Buffer); in cacheSource()
380 DILineInfo LineInfo = DILineInfo(); in printSourceLine() local
385 LineInfo in printSourceLine()
431 printLines(formatted_raw_ostream & OS,const DILineInfo & LineInfo,StringRef Delimiter,LiveVariablePrinter & LVP) printLines() argument
454 getLine(const DILineInfo & LineInfo,StringRef ObjectFilename) getLine() argument
480 printSources(formatted_raw_ostream & OS,const DILineInfo & LineInfo,StringRef ObjectFilename,StringRef Delimiter,LiveVariablePrinter & LVP) printSources() argument
[all...]
H A DSourcePrinter.h147 void printLines(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
150 void printSources(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
156 StringRef getLine(const DILineInfo &LineInfo, StringRef ObjectFilename);
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp55 auto LineInfo = LineNumbers->getNext(); in getLineInfoForAddress() local
56 assert(LineInfo); in getLineInfoForAddress()
57 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress()
62 Result.Column = LineInfo->getColumnNumber(); in getLineInfoForAddress()
63 Result.Line = LineInfo->getLineNumber(); in getLineInfoForAddress()
86 while (auto LineInfo = LineNumbers->getNext()) { in getLineInfoForAddressRange() local
88 {LineInfo->getVirtualAddress(), Address.SectionIndex}, Specifier); in getLineInfoForAddressRange()
89 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
123 DILineInfo LineInfo; in getInliningInfoForAddress() local
124 LineInfo.FunctionName = Frame->getName(); in getInliningInfoForAddress()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp296 static json::Object toJSON(const DILineInfo &LineInfo) { in toJSON()
298 {{"FunctionName", LineInfo.FunctionName != DILineInfo::BadString in toJSON()
299 ? LineInfo.FunctionName in toJSON()
301 {"StartFileName", LineInfo.StartFileName != DILineInfo::BadString in toJSON()
302 ? LineInfo.StartFileName in toJSON()
304 {"StartLine", LineInfo.StartLine}, in toJSON()
306 LineInfo.StartAddress ? toHex(*LineInfo.StartAddress) : ""}, in print()
308 LineInfo.FileName != DILineInfo::BadString ? LineInfo in print()
288 toJSON(const DILineInfo & LineInfo) toJSON() argument
315 const DILineInfo &LineInfo = Info.getFrame(I); print() local
[all...]
H A DSymbolizableObjectFile.cpp280 DILineInfo LineInfo = in symbolizeCode() local
289 LineInfo.FunctionName = FunctionName; in symbolizeCode()
290 LineInfo.StartAddress = Start; in symbolizeCode()
291 if (LineInfo.FileName == DILineInfo::BadString && !FileName.empty()) in symbolizeCode()
292 LineInfo.FileName = FileName; in symbolizeCode()
295 return LineInfo; in symbolizeCode()
H A DSymbolize.cpp73 DILineInfo LineInfo = Info->symbolizeCode( in symbolizeCodeCommon() local
77 LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); in symbolizeCodeCommon()
78 return LineInfo; in symbolizeCodeCommon()
251 DILineInfo LineInfo = Info->symbolizeCode( in findSymbolCommon() local
254 if (LineInfo.FileName != DILineInfo::BadString) { in findSymbolCommon()
256 LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); in findSymbolCommon()
257 Result.push_back(LineInfo); in findSymbolCommon()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFContext.cpp25 const BTF::BPFLineInfo *LineInfo = BTF.findLineInfo(Address); in getLineInfoForAddress() local
27 if (!LineInfo) in getLineInfoForAddress()
30 Result.LineSource = BTF.findString(LineInfo->LineOff); in getLineInfoForAddress()
31 Result.FileName = BTF.findString(LineInfo->FileNameOff); in getLineInfoForAddress()
32 Result.Line = LineInfo->getLine(); in getLineInfoForAddress()
33 Result.Column = LineInfo->getCol(); in getLineInfoForAddress()
H A DBTFParser.cpp275 BTFLinesVector::const_iterator LineInfo = findLineInfo() local
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DLine.h20 class LineInfo {
35 LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement);
36 LineInfo(uint32_t LineData) : LineData(LineData) {} in LineInfo() function
93 LineInfo LineInf;
102 Line(int32_t CodeOffset, LineInfo LineInf, ColumnInfo ColumnInf) in Line()
105 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/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp245 std::vector<LineNumberInfo> LineInfo; in notifyObjectLoaded() local
296 LineInfo.push_back( in notifyObjectLoaded()
299 if (LineInfo.size() == 0) { in notifyObjectLoaded()
310 LineNumberInfo last = LineInfo.back(); in notifyObjectLoaded()
312 LineInfo.push_back(last); in notifyObjectLoaded()
313 for (size_t i = LineInfo.size() - 2; i > 0; --i) in notifyObjectLoaded()
314 LineInfo[i].LineNumber = LineInfo[i - 1].LineNumber; in notifyObjectLoaded()
319 FunctionMessage.line_number_size = LineInfo.size(); in notifyObjectLoaded()
320 FunctionMessage.line_number_table = &*LineInfo.begin(); in notifyObjectLoaded()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderVTune.cpp66 std::vector<LineNumberInfo> LineInfo; in registerJITLoaderVTuneRegisterImpl() local
68 LineInfo.push_back(LineNumberInfo{LInfo.first, LInfo.second}); in registerJITLoaderVTuneRegisterImpl()
71 if (LineInfo.size() == 0) { in registerJITLoaderVTuneRegisterImpl()
75 MethodMessage.line_number_size = LineInfo.size(); in registerJITLoaderVTuneRegisterImpl()
76 MethodMessage.line_number_table = &*LineInfo.begin(); in registerJITLoaderVTuneRegisterImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp473 LLVMPerfJitDebugEntry LineInfo; in NotifyDebug() local
476 LineInfo.Addr = It->first; in NotifyDebug()
480 LineInfo.Addr += 0x40; in NotifyDebug()
481 LineInfo.Lineno = Line.Line; in NotifyDebug()
482 LineInfo.Discrim = Line.Discriminator; in NotifyDebug()
484 Dumpstream->write(reinterpret_cast<const char *>(&LineInfo), in NotifyDebug()
485 sizeof(LineInfo)); in NotifyDebug()
/freebsd/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/contrib/libedit/
H A Dhistedit.h66 } LineInfo; typedef
180 const LineInfo *el_line(EditLine *);
248 int tok_line(Tokenizer *, const LineInfo *,
H A Deln.c360 const LineInfo *
364 LineInfo *info = &el->el_lgcylinfo; in el_line()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeLineNumber.h23 const codeview::LineInfo Line,
43 const codeview::LineInfo Line;
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h108 struct LineInfo { struct
114 LineInfo InlinedAt;
124 DenseMap<unsigned, LineInfo> InlinedAtMap;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1011 BTFLineInfo LineInfo; in constructLineInfo() local
1013 LineInfo.Label = Label; in constructLineInfo()
1014 LineInfo.FileNameOff = addString(FileName); in constructLineInfo()
1017 LineInfo.LineOff = addString(FileContent[FileName][Line]); in constructLineInfo()
1019 LineInfo.LineOff = 0; in constructLineInfo()
1020 LineInfo.LineNum = Line; in constructLineInfo()
1021 LineInfo.ColumnNum = Column; in constructLineInfo()
1022 LineInfoTable[SecNameOff].push_back(LineInfo); in constructLineInfo()
1135 for (const auto &LineInfo : LineSec.second) { in emitBTFExtSection() local
1136 Asm->emitLabelReference(LineInfo.Label, 4); in emitBTFExtSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp57 struct LineInfo { struct
67 std::vector<LineInfo> lines;
86 void collectSourceLine(SourceInfo &si, Summary *summary, LineInfo &line,
710 LineInfo &line = si.lines[lineNum]; in collectFunction()
723 LineInfo &line, size_t lineNum) const { in collectSourceLine()
773 for (LineInfo &line : si.lines) { in collectSource()
799 const LineInfo &line = si.lines[lineNum]; in annotateSource()
844 const LineInfo &line = si.lines[lineNum]; in printSourceToIntermediate()
/freebsd/contrib/libedit/TEST/
H A Dtc1.c93 const LineInfo *lf = el_line(el); in complete()
181 const LineInfo *li; in main()
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h37 bool SilenceRewriteMacroWarning, bool LineInfo);
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeLineNumber.cpp16 const codeview::LineInfo Line, in NativeLineNumber()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp107 MCCVFunctionInfo::LineInfo InlinedAt; in recordInlinedCallSiteId()
293 MCCVFunctionInfo::LineInfo &IA = I->second; in getFunctionLineEntries()
394 LineData |= LineInfo::StatementFlag; in emitLineTableForFunction()
519 MCCVFunctionInfo::LineInfo LastSourceLoc, CurSourceLoc; in encodeInlineLineTable()

12