Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/
Dllvm-cfi-verify.cpp63 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
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()
/external/llvm/lib/DebugInfo/PDB/
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()
78 while (auto LineInfo = LineNumbers->getNext()) { in getLineInfoForAddressRange() local
80 getLineInfoForAddress(LineInfo->getVirtualAddress(), Specifier); in getLineInfoForAddressRange()
81 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp113 std::vector<LineNumberInfo> LineInfo; in NotifyObjectEmitted() local
152 LineInfo.push_back( in NotifyObjectEmitted()
155 if (LineInfo.size() == 0) { in NotifyObjectEmitted()
166 LineNumberInfo last = LineInfo.back(); in NotifyObjectEmitted()
168 LineInfo.push_back(last); in NotifyObjectEmitted()
169 for (size_t i = LineInfo.size() - 2; i > 0; --i) in NotifyObjectEmitted()
170 LineInfo[i].LineNumber = LineInfo[i - 1].LineNumber; in NotifyObjectEmitted()
175 FunctionMessage.line_number_size = LineInfo.size(); in NotifyObjectEmitted()
176 FunctionMessage.line_number_table = &*LineInfo.begin(); in NotifyObjectEmitted()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp116 std::vector<LineNumberInfo> LineInfo; in NotifyObjectEmitted() local
155 LineInfo.push_back( in NotifyObjectEmitted()
158 if (LineInfo.size() == 0) { in NotifyObjectEmitted()
169 LineNumberInfo last = LineInfo.back(); in NotifyObjectEmitted()
171 LineInfo.push_back(last); in NotifyObjectEmitted()
172 for (size_t i = LineInfo.size() - 2; i > 0; --i) in NotifyObjectEmitted()
173 LineInfo[i].LineNumber = LineInfo[i - 1].LineNumber; in NotifyObjectEmitted()
178 FunctionMessage.line_number_size = LineInfo.size(); in NotifyObjectEmitted()
179 FunctionMessage.line_number_table = &*LineInfo.begin(); in NotifyObjectEmitted()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DLocationImpl.java37 private LineInfo baseLineInfo = null;
38 private LineInfo otherLineInfo = null;
116 LineInfo getBaseLineInfo(SDE.Stratum stratum) { in getBaseLineInfo()
117 LineInfo lineInfo; in getBaseLineInfo()
135 LineInfo getLineInfo(SDE.Stratum stratum) { in getLineInfo()
136 LineInfo lineInfo; in getLineInfo()
172 void addStratumLineInfo(LineInfo lineInfo) { in addStratumLineInfo()
176 void addBaseLineInfo(LineInfo lineInfo) { in addBaseLineInfo()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DOProfileJITEventListener.cpp123 std::vector<debug_line_info> LineInfo; in NotifyFunctionEmitted() local
124 LineInfo.reserve(1 + Details.LineStarts.size()); in NotifyFunctionEmitted()
140 LineInfo.push_back(line_info); in NotifyFunctionEmitted()
146 LineInfo.push_back(LineStartToOProfileFormat( in NotifyFunctionEmitted()
152 LineInfo[0].vma = reinterpret_cast<uintptr_t>(FnStart); in NotifyFunctionEmitted()
155 LineInfo.size(), &*LineInfo.begin()) == -1) { in NotifyFunctionEmitted()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
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()
/external/llvm/include/llvm/DebugInfo/CodeView/
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()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sanstats/
Dsanstats.cpp82 if (Expected<DILineInfo> LineInfo = in ReadModule() local
84 llvm::outs() << LineInfo->FileName << ':' << LineInfo->Line << ' ' in ReadModule()
85 << LineInfo->FunctionName << ' '; in ReadModule()
87 logAllUnhandledErrors(LineInfo.takeError(), llvm::outs(), "<error> "); in ReadModule()
/external/llvm/tools/sanstats/
Dsanstats.cpp79 if (Expected<DILineInfo> LineInfo = in ReadModule() local
81 llvm::outs() << LineInfo->FileName << ':' << LineInfo->Line << ' ' in ReadModule()
82 << LineInfo->FunctionName << ' '; in ReadModule()
84 logAllUnhandledErrors(LineInfo.takeError(), llvm::outs(), "<error> "); in ReadModule()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGCOV.cpp238 if (LineInfo.find(Filename) == LineInfo.end()) { in addLineCount()
247 LineInfo[Filename] = L; in addLineCount()
250 LineCounts &L = LineInfo[Filename]; in addLineCount()
256 for (StringMap<LineCounts>::iterator I = LineInfo.begin(), E = LineInfo.end(); in print()
260 LineCounts &L = LineInfo[Filename]; in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp464 LLVMPerfJitDebugEntry LineInfo; in NotifyDebug() local
467 LineInfo.Addr = It->first; in NotifyDebug()
471 LineInfo.Addr += 0x40; in NotifyDebug()
472 LineInfo.Lineno = Line.Line; in NotifyDebug()
473 LineInfo.Discrim = Line.Discriminator; in NotifyDebug()
475 Dumpstream->write(reinterpret_cast<const char *>(&LineInfo), in NotifyDebug()
476 sizeof(LineInfo)); in NotifyDebug()
/external/llvm/include/llvm/Support/
DGCOV.h399 : Options(Options), LineInfo(), RunCount(0), ProgramCount(0) {} in FileInfo()
402 if (Line > LineInfo[Filename].LastLine) in addBlockLine()
403 LineInfo[Filename].LastLine = Line; in addBlockLine()
404 LineInfo[Filename].Blocks[Line - 1].push_back(Block); in addBlockLine()
408 if (Line > LineInfo[Filename].LastLine) in addFunctionLine()
409 LineInfo[Filename].LastLine = Line; in addFunctionLine()
410 LineInfo[Filename].Functions[Line - 1].push_back(Function); in addFunctionLine()
433 StringMap<LineData> LineInfo; variable
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dsancov.cpp522 DILineInfo LineInfo; in read() local
523 LineInfo.FileName = Filename; in read()
524 LineInfo.FunctionName = FunctionName; in read()
526 LineInfo.Line = std::strtoul(LineStr.c_str(), &End, 10); in read()
527 LineInfo.Column = std::strtoul(ColStr.c_str(), &End, 10); in read()
530 CoveragePoint->Locs.push_back(LineInfo); in read()
625 auto LineInfo = Symbolizer->symbolizeCode(ObjectFile, Addr); in getCoveragePoints() local
626 failIfError(LineInfo); in getCoveragePoints()
627 CoveredFiles.insert(LineInfo->FileName); in getCoveragePoints()
640 auto LineInfo = Symbolizer->symbolizeCode(ObjectFile, Addr); in getCoveragePoints() local
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DModStream.cpp53 if (auto EC = LineReader.readArray(LineInfo, LineReader.bytesRemaining())) in reload()
79 return llvm::make_range(LineInfo.begin(HadError), LineInfo.end()); in lines()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DGCOV.h415 if (Line > LineInfo[Filename].LastLine) in addBlockLine()
416 LineInfo[Filename].LastLine = Line; in addBlockLine()
417 LineInfo[Filename].Blocks[Line - 1].push_back(Block); in addBlockLine()
422 if (Line > LineInfo[Filename].LastLine) in addFunctionLine()
423 LineInfo[Filename].LastLine = Line; in addFunctionLine()
424 LineInfo[Filename].Functions[Line - 1].push_back(Function); in addFunctionLine()
448 StringMap<LineData> LineInfo; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DLine.cpp15 LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) { in LineInfo() function in LineInfo
/external/llvm/lib/DebugInfo/CodeView/
DLine.cpp15 LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) { in LineInfo() function in LineInfo
/external/bcc/src/cc/
Dbcc_debug.cc203 DILineInfo LineInfo; in dump() local
207 LineInfo); in dump()
210 dumpSrcLine(LineCache, LineInfo.FileName, LineInfo.Line, in dump()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp207 DILineInfo LineInfo; in symbolizeCode() local
209 LineInfo = DebugInfoContext->getLineInfoForAddress( in symbolizeCode()
218 LineInfo.FunctionName = FunctionName; in symbolizeCode()
221 return LineInfo; in symbolizeCode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp224 DILineInfo LineInfo; in symbolizeCode() local
226 LineInfo = DebugInfoContext->getLineInfoForAddress( in symbolizeCode()
235 LineInfo.FunctionName = FunctionName; in symbolizeCode()
238 return LineInfo; in symbolizeCode()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCCodeView.h122 struct LineInfo { struct
128 LineInfo InlinedAt;
138 DenseMap<unsigned, LineInfo> InlinedAtMap;
/external/v8/src/
Dgdb-jit.cc926 class LineInfo : public Malloced { class
962 LineInfo* lineinfo) in CodeDescription()
969 LineInfo* lineinfo() const { return lineinfo_; } in lineinfo()
1037 LineInfo* lineinfo_;
1479 std::vector<LineInfo::PCInfo>* pc_info = desc_->lineinfo()->pc_info(); in WriteBodyInternal()
1483 LineInfo::PCInfo* info = &pc_info->at(i); in WriteBodyInternal()
1554 static bool ComparePCInfo(const LineInfo::PCInfo& a, in ComparePCInfo()
1555 const LineInfo::PCInfo& b) { in ComparePCInfo()
1979 static void PutLineInfo(Address addr, LineInfo* info) { in PutLineInfo()
1983 if (e->value != nullptr) delete static_cast<LineInfo*>(e->value); in PutLineInfo()
[all …]
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc82 struct LineInfo { struct
112 std::vector<struct LineInfo> line_info;
276 struct LineInfo line; in LoadLineInfo()
376 struct LineInfo &line_info = func_info.line_info[k]; in ComputeSizeAndRVA()
382 struct LineInfo &next_line = func_info.line_info[k + 1]; in ComputeSizeAndRVA()
542 const struct LineInfo &line_info = func_info.line_info[i]; in WriteOneFunction()

123