Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A 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 …]
H A DSourcePrinter.h145 void printLines(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
148 void printSources(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/
H A Dllvm-cfi-verify.cpp63 static void printBlameContext(const DILineInfo &LineInfo, unsigned Context) { in printBlameContext() argument
64 auto FileOrErr = MemoryBuffer::getFile(LineInfo.FileName); in printBlameContext()
66 errs() << "Could not open file: " << LineInfo.FileName << "\n"; in printBlameContext()
74 for (unsigned i = std::max<size_t>(1, LineInfo.Line - Context); in printBlameContext()
76 std::min<size_t>(Lines.size() + 1, LineInfo.Line + Context + 1); in printBlameContext()
78 if (i == LineInfo.Line) in printBlameContext()
101 const DILineInfo &LineInfo) { in printInstructionStatus() argument
111 printBlameContext(LineInfo, PrintBlameContextAll); in printInstructionStatus()
116 printBlameContext(LineInfo, PrintBlameContextAll); in printInstructionStatus()
120 printBlameContext(LineInfo, PrintBlameContext); in printInstructionStatus()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/Symbolize/
H A 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 …]
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()
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/sanstats/
H A Dsanstats.cpp90 if (Expected<DILineInfo> LineInfo = Symbolizer.symbolizeCode( in ReadModule() local
92 llvm::outs() << format_hex(Addr - 1, 18) << ' ' << LineInfo->FileName in ReadModule()
93 << ':' << LineInfo->Line << ' ' << LineInfo->FunctionName in ReadModule()
96 logAllUnhandledErrors(LineInfo.takeError(), llvm::outs(), "<error> "); in ReadModule()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/sancov/
H A Dsancov.cpp426 DILineInfo LineInfo; in read() local
427 LineInfo.FileName = Filename; in read()
428 LineInfo.FunctionName = FunctionName; in read()
430 LineInfo.Line = std::strtoul(LineStr.c_str(), &End, 10); in read()
431 LineInfo.Column = std::strtoul(ColStr.c_str(), &End, 10); in read()
434 CoveragePoint->Locs.push_back(LineInfo); in read()
536 auto LineInfo = Symbolizer->symbolizeCode(ObjectFile, ModuleAddress); in getCoveragePoints() local
537 failIfError(LineInfo); in getCoveragePoints()
538 CoveredFiles.insert(LineInfo->FileName); in getCoveragePoints()
557 auto LineInfo = Symbolizer->symbolizeCode(ObjectFile, ModuleAddress); in getCoveragePoints() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/lib/libedit/
H A Dhistedit.h66 } LineInfo; typedef
180 const LineInfo *el_line(EditLine *);
248 int tok_line(Tokenizer *, const LineInfo *,
/netbsd-src/external/apache2/llvm/dist/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()
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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeLineNumber.h22 const codeview::LineInfo Line,
42 const codeview::LineInfo Line;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCCodeView.h101 struct LineInfo { struct
107 LineInfo InlinedAt;
117 DenseMap<unsigned, LineInfo> InlinedAtMap;
/netbsd-src/usr.bin/mail/
H A Dcomplete.c759 emacs_ctrl_d(EditLine *el, const LineInfo *lf, int ch) in emacs_ctrl_d()
780 get_dolist(const LineInfo *lf) in get_dolist()
807 static LineInfo *
808 split_line(const char **cmplarray, const LineInfo *lf) in split_line()
810 static LineInfo li; in split_line()
871 split_word(int *cmpltype, const char *cmplarray, LineInfo *li) in split_word()
917 LineInfo *li; in mail_complete()
918 const LineInfo *lf; in mail_complete()
994 const LineInfo *lf; in file_complete()
1031 const LineInfo *lf; in mime_enc_complete()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DGCOV.cpp56 struct LineInfo { struct
66 std::vector<LineInfo> lines;
85 void collectSourceLine(SourceInfo &si, Summary *summary, LineInfo &line,
660 LineInfo &line = si.lines[lineNum]; in collectFunction()
673 LineInfo &line, size_t lineNum) const { in collectSourceLine()
723 for (LineInfo &line : si.lines) { in collectSource()
749 const LineInfo &line = si.lines[lineNum]; in annotateSource()
794 const LineInfo &line = si.lines[lineNum]; in printSourceToIntermediate()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp522 auto LineInfo = in parseSectionContents() local
525 if (!LineInfo) { in parseSectionContents()
526 handleAllErrors(LineInfo.takeError(), [](const ErrorInfoBase &E) { in parseSectionContents()
532 if (LineInfo->FileName == DILineInfo::BadString) in parseSectionContents()
/netbsd-src/lib/libedit/TEST/
H A Dtc1.c93 const LineInfo *lf = el_line(el); in complete()
181 const LineInfo *li; in main()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h37 bool SilenceRewriteMacroWarning, bool LineInfo);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeLineNumber.cpp15 const codeview::LineInfo Line, in NativeLineNumber()

12