Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp338 if (LineInfo.Source) { in cacheSource()
374 DILineInfo LineInfo = DILineInfo(); in printSourceLine() local
379 LineInfo = *ExpectedLineInfo; in printSourceLine()
392 assert(!LineInfo.FileName.empty()); in printSourceLine()
407 LineInfo.FileName = in printSourceLine()
421 OldLineInfo = LineInfo; in printSourceLine()
437 if (LineInfo.FileName != DILineInfo::BadString && LineInfo.Line != 0 && in printLines()
440 OS << Delimiter << LineInfo.FileName << ":" << LineInfo.Line; in printLines()
449 if (LineInfo.FileName == DILineInfo::BadString || LineInfo.Line == 0 || in printSources()
455 if (!cacheSource(LineInfo)) in printSources()
[all …]
H A DSourcePrinter.h146 void printLines(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
149 void printSources(formatted_raw_ostream &OS, const DILineInfo &LineInfo,
/llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/
H A Dllvm-cfi-verify.cpp68 auto FileOrErr = MemoryBuffer::getFile(LineInfo.FileName); in printBlameContext()
78 for (unsigned i = std::max<size_t>(1, LineInfo.Line - Context); in printBlameContext()
82 if (i == LineInfo.Line) in printBlameContext()
105 const DILineInfo &LineInfo) { in printInstructionStatus() argument
115 printBlameContext(LineInfo, PrintBlameContextAll); in printInstructionStatus()
120 printBlameContext(LineInfo, PrintBlameContextAll); in printInstructionStatus()
124 printBlameContext(LineInfo, PrintBlameContext); in printInstructionStatus()
167 const auto &LineInfo = InliningInfo->getFrame(0); in printIndirectCFInstructions() local
182 printBlameContext(LineInfo, PrintBlameContextAll); in printIndirectCFInstructions()
186 printBlameContext(LineInfo, PrintBlameContext); in printIndirectCFInstructions()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp55 auto LineInfo = LineNumbers->getNext(); in getLineInfoForAddress() local
56 assert(LineInfo); 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
123 DILineInfo LineInfo; in getInliningInfoForAddress() local
124 LineInfo.FunctionName = Frame->getName(); in getInliningInfoForAddress()
128 LineInfo.FileName = SourceFile->getFileName(); in getInliningInfoForAddress()
129 LineInfo.Line = Line->getLineNumber(); in getInliningInfoForAddress()
130 LineInfo.Column = Line->getColumnNumber(); in getInliningInfoForAddress()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp300 const DILineInfo &LineInfo = Info.getFrame(I); in print() local
303 ? LineInfo.FunctionName in print()
306 ? LineInfo.StartFileName in print()
308 {"StartLine", LineInfo.StartLine}, in print()
310 LineInfo.StartAddress ? toHex(*LineInfo.StartAddress) : ""}, in print()
312 LineInfo.FileName != DILineInfo::BadString ? LineInfo.FileName : ""}, in print()
313 {"Line", LineInfo.Line}, in print()
314 {"Column", LineInfo.Column}, in print()
315 {"Discriminator", LineInfo.Discriminator}}); in print()
316 SourceCode SourceCode(LineInfo.FileName, LineInfo.Line, 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()
/llvm-project-15.0.7/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,
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/sanstats/
H A Dsanstats.cpp94 if (Expected<DILineInfo> LineInfo = Symbolizer.symbolizeCode( in ReadModule() local
96 llvm::outs() << format_hex(Addr - 1, 18) << ' ' << LineInfo->FileName in ReadModule()
97 << ':' << LineInfo->Line << ' ' << LineInfo->FunctionName in ReadModule()
100 logAllUnhandledErrors(LineInfo.takeError(), llvm::outs(), "<error> "); in ReadModule()
/llvm-project-15.0.7/llvm/tools/sancov/
H A Dsancov.cpp444 DILineInfo LineInfo; in read() local
445 LineInfo.FileName = Filename; in read()
560 failIfError(LineInfo); in getCoveragePoints()
561 CoveredFiles.insert(LineInfo->FileName); in getCoveragePoints()
581 failIfError(LineInfo); in getCoveragePoints()
585 LineInfo->FileName = normalizeFilename(LineInfo->FileName); in getCoveragePoints()
586 if (Ig.isIgnorelisted(*LineInfo)) in getCoveragePoints()
591 Infos.insert(*LineInfo); in getCoveragePoints()
592 Point.Locs.push_back(*LineInfo); in getCoveragePoints()
914 failIfError(LineInfo); in symbolize()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeLineNumber.h23 const codeview::LineInfo Line,
43 const codeview::LineInfo Line;
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCCodeView.h108 struct LineInfo { struct
114 LineInfo InlinedAt;
124 DenseMap<unsigned, LineInfo> InlinedAtMap;
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTFDebug.cpp972 BTFLineInfo LineInfo; in constructLineInfo() local
974 LineInfo.Label = Label; in constructLineInfo()
975 LineInfo.FileNameOff = addString(FileName); in constructLineInfo()
980 LineInfo.LineOff = 0; in constructLineInfo()
981 LineInfo.LineNum = Line; in constructLineInfo()
982 LineInfo.ColumnNum = Column; in constructLineInfo()
983 LineInfoTable[SecNameOff].push_back(LineInfo); in constructLineInfo()
1096 for (const auto &LineInfo : LineSec.second) { in emitBTFExtSection() local
1098 OS.emitInt32(LineInfo.FileNameOff); in emitBTFExtSection()
1099 OS.emitInt32(LineInfo.LineOff); in emitBTFExtSection()
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp56 struct LineInfo { struct
66 std::vector<LineInfo> lines;
85 void collectSourceLine(SourceInfo &si, Summary *summary, LineInfo &line,
675 LineInfo &line = si.lines[lineNum]; in collectFunction()
688 LineInfo &line, size_t lineNum) const { in collectSourceLine()
738 for (LineInfo &line : si.lines) { in collectSource()
764 const LineInfo &line = si.lines[lineNum]; in annotateSource()
809 const LineInfo &line = si.lines[lineNum]; in printSourceToIntermediate()
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/BTF/
H A Dfunc-void.ll52 ; CHECK-NEXT: .long 16 # LineInfo
53 ; CHECK-NEXT: .long 4 # LineInfo section string offset=4
H A Dfilename.ll58 ; CHECK-NEXT: .long 16 # LineInfo
59 ; CHECK-NEXT: .long 10 # LineInfo section string offset=10
H A Dfunc-source.ll58 ; CHECK-NEXT: .long 16 # LineInfo
59 ; CHECK-NEXT: .long 3 # LineInfo section string offset=3
H A Dfunc-unused-arg.ll63 ; CHECK-NEXT: .long 16 # LineInfo
64 ; CHECK-NEXT: .long 11 # LineInfo section string offset=11
/llvm-project-15.0.7/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h37 bool SilenceRewriteMacroWarning, bool LineInfo);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeLineNumber.cpp16 const codeview::LineInfo Line, in NativeLineNumber()

12