| /llvm-project-15.0.7/lldb/examples/python/ |
| H A D | pytracer.py | 15 def getLineNumber(self): member in TracebackFancy 25 self.getFrame().getName(), self.getLineNumber()) 138 def getLineNumber(self): member in FrameFancy 236 …print("running " + frame.getName() + " @ " + str(frame.getLineNumber()) + " locals are " + str(fra… 242 …s @ %s" % (exception.getType(), str(exception.getValue()), frame.getName(), frame.getLineNumber())) 261 ) == "run_one_line" and frame.getCaller().getLineNumber() == 101: 273 str(frame.getCaller().getLineNumber()) + " args are " + str(frame.getArgumentInfo()) 280 …un_one_line(%s) @ %s" % (frame.getArgumentInfo().getArgs()["input_string"], frame.getLineNumber())) 283 print("running into Python at " + frame.getName() + " @ " + str(frame.getLineNumber())) 285 strout = "running " + frame.getName() + " @ " + str(frame.getLineNumber()) + \ [all …]
|
| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 266 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; in InsertText() 367 unsigned parentLineNo = SourceMgr->getLineNumber(FID, parentOff) - 1; in IncreaseIndentation() 368 unsigned startLineNo = SourceMgr->getLineNumber(FID, StartOff) - 1; in IncreaseIndentation() 369 unsigned endLineNo = SourceMgr->getLineNumber(FID, EndOff) - 1; in IncreaseIndentation()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBContext.cpp | 63 Result.Line = LineInfo->getLineNumber(); in getLineInfoForAddress() 129 LineInfo.Line = Line->getLineNumber(); in getInliningInfoForAddress()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | IPDBLineNumber.h | 20 virtual uint32_t getLineNumber() const = 0;
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 1438 unsigned Line = getLineNumber(Loc); in createBitFieldType() 2839 unsigned PLine = getLineNumber(Loc); in CreateTypeDefinition() 3549 Line = getLineNumber(Loc); in CreateLimitedType() 3724 LineNo = getLineNumber(VD->getLocation()); in collectVarDeclProps() 3782 unsigned Line = getLineNumber(Loc); in getFunctionFwdDeclOrStub() 3835 unsigned Line = getLineNumber(Loc); in getGlobalVariableForwardDeclaration() 4192 unsigned LineNo = getLineNumber(Loc); in EmitFunctionDecl() 4446 Line = getLineNumber(VD->getLocation()); in EmitDeclare() 4868 unsigned line = getLineNumber(loc); in EmitDeclareOfBlockLiteralArgVariable() 5557 getLineNumber(Loc)); in EmitImportDecl() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/DIA/ |
| H A D | DIALineNumber.h | 21 uint32_t getLineNumber() const override;
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 112 unsigned Line = SM.getLineNumber(FID, SM.getFileOffset(Loc)); in handleDeclOccurrence() 150 unsigned Line = SM.getLineNumber(FID, SM.getFileOffset(Loc)); in handleModuleOccurrence() 173 unsigned Line = SM.getLineNumber(FID, SM.getFileOffset(Loc)); in handleMacroOccurrence()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ScriptLexer.h | 51 size_t getLineNumber();
|
| H A D | ScriptLexer.cpp | 56 size_t ScriptLexer::getLineNumber() { in getLineNumber() function in ScriptLexer 90 return (filename + ":" + Twine(getLineNumber())).str(); in getCurrentLocation()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | NativeLineNumber.h | 28 uint32_t getLineNumber() const override;
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 211 unsigned FullSourceLoc::getLineNumber(bool *Invalid) const { in getLineNumber() function in FullSourceLoc 213 return SrcMgr->getLineNumber(getFileID(), getFileOffset(), Invalid); in getLineNumber()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeLineNumber.cpp | 24 uint32_t NativeLineNumber::getLineNumber() const { return Line.getStartLine(); } in getLineNumber() function in NativeLineNumber
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticSelection.cpp | 53 Range.startLine = SM.getLineNumber(Begin.first, Begin.second) - 1; in toFoldingRange() 55 Range.endLine = SM.getLineNumber(End.first, End.second) - 1; in toFoldingRange()
|
| H A D | Headers.cpp | 70 SM.getLineNumber(SM.getFileID(HashLoc), Inc.HashOffset) - 1; in InclusionDirective() 165 SM.getLineNumber(SM.getMainFileID(), Offset) - 1; in HandleComment()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 405 LineNo = SrcMgr.getLineNumber(FID, ExpAsmLoc.second); in ParseMicrosoftAsmStatement() 433 LineNo = SrcMgr.getLineNumber(FID, ExpSemiLoc.second); in ParseMicrosoftAsmStatement() 441 SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second) != LineNo) { in ParseMicrosoftAsmStatement() 456 LineNo = SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second); in ParseMicrosoftAsmStatement() 462 LineNo = SrcMgr.getLineNumber(FID, ExpLoc.second); in ParseMicrosoftAsmStatement()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIALineNumber.cpp | 17 uint32_t DIALineNumber::getLineNumber() const { in getLineNumber() function in DIALineNumber
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 887 << BF.getLineNumber() << ':' << BF.getColumnNumber() << '-' in emitDiagnosticLoc() 888 << EF.getLineNumber() << ':' << (EF.getColumnNumber() + TokSize) in emitDiagnosticLoc() 1078 LineNo == SM.getLineNumber(HintLocInfo.first, HintLocInfo.second) && in buildFixItInsertionLine() 1159 unsigned CaretLineNo = Loc.getLineNumber(); in emitSnippetAndCaret() 1348 OS << "\":{" << SM.getLineNumber(BInfo.first, BInfo.second) in emitParseableFixits() 1350 << '-' << SM.getLineNumber(EInfo.first, EInfo.second) in emitParseableFixits()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 333 *line = SM.getLineNumber(FID, FileOffset); in clang_getSpellingLocation() 369 *line = SM.getLineNumber(FID, FileOffset); in clang_getFileLocation()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 118 unsigned SourceMgr::SrcBuffer::getLineNumber(const char *Ptr) const { in getLineNumber() function in SourceMgr::SrcBuffer 196 unsigned LineNo = SB.getLineNumber(Ptr); in getLineAndColumn()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyCompilandDumper.cpp | 76 uint32_t LineStart = Line->getLineNumber(); in start()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 707 << " {" << SM.getLineNumber(BInfo.first, BInfo.second) << ':' in ProcessCodeCompleteResults() 709 << SM.getLineNumber(EInfo.first, EInfo.second) << ':' in ProcessCodeCompleteResults()
|
| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | SourceManagerTest.cpp | 314 TEST_F(SourceManagerTest, getLineNumber) { in TEST_F() argument 332 ASSERT_NO_FATAL_FAILURE(SourceMgr.getLineNumber(mainFileID, 1, nullptr)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 64 unsigned getLineNumber(const char *Ptr) const;
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Lexer.cpp | 51 unsigned lineNo = bufferInfo.getLineNumber(loc.getPointer()); in getEncodedSourceLocation()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | PerfReader.cpp | 536 << TraceIt.getLineNumber() << ": " in extractLBRStack() 683 Sample->Linenum = TraceIt.getLineNumber(); in parseSample() 786 Twine(TraceIt.getLineNumber()).str() + ": " + in readSampleCounters()
|