HomeSort by: relevance | last modified time | path
    Searched refs:LineTable (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/
LineTable.h 1 //===- LineTable.h ----------------------------------------------*- C++ -*-===//
23 /// LineTable class contains deserialized versions of line tables for each
53 /// push "Row" onto the end of the "LineTable.Lines" vector. The end result
118 class LineTable {
125 /// LineTable::decode() or just find a single matching entry using this
131 /// have the data for the LineTable object starting at offset zero. The data
142 /// Decode an LineTable object from a binary data stream.
145 /// have the data for the LineTable object starting at offset zero. The data
152 /// \returns An LineTable or an error describing the issue that was
154 static llvm::Expected<LineTable> decode(DataExtractor &Data
    [all...]
FunctionInfo.h 14 #include "llvm/DebugInfo/GSYM/LineTable.h"
92 llvm::Optional<LineTable> OptLineTable;
GsymReader.h 165 /// Dump a LineTable object.
174 void dump(raw_ostream &OS, const LineTable &LT);
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
DWARFYAML.cpp 235 void MappingTraits<DWARFYAML::LineTable>::mapping(
236 IO &IO, DWARFYAML::LineTable &LineTable) {
237 IO.mapOptional("Format", LineTable.Format, dwarf::DWARF32);
238 IO.mapOptional("Length", LineTable.Length);
239 IO.mapRequired("Version", LineTable.Version);
240 IO.mapOptional("PrologueLength", LineTable.PrologueLength);
241 IO.mapRequired("MinInstLength", LineTable.MinInstLength);
242 if(LineTable.Version >= 4)
243 IO.mapRequired("MaxOpsPerInst", LineTable.MaxOpsPerInst)
    [all...]
DWARFEmitter.cpp 570 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) {
576 writeInteger(LineTable.MinInstLength, BufferOS, DI.IsLittleEndian);
578 if (LineTable.Version >= 4)
579 writeInteger(LineTable.MaxOpsPerInst, BufferOS, DI.IsLittleEndian);
580 writeInteger(LineTable.DefaultIsStmt, BufferOS, DI.IsLittleEndian);
581 writeInteger(LineTable.LineBase, BufferOS, DI.IsLittleEndian);
582 writeInteger(LineTable.LineRange, BufferOS, DI.IsLittleEndian);
585 LineTable.StandardOpcodeLengths.getValueOr(
586 getStandardOpcodeLengths(LineTable.Version, LineTable.OpcodeBase))
    [all...]
  /src/external/apache2/llvm/lib/libLLVMDebugInfoGSYM/
Makefile 16 LineTable.cpp \
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFDebugLine.cpp 514 DWARFDebugLine::LineTable::LineTable() { clear(); }
516 void DWARFDebugLine::LineTable::dump(raw_ostream &OS,
533 void DWARFDebugLine::LineTable::clear() {
540 struct LineTable *LT, uint64_t TableOffset,
542 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) {
547 Row.reset(LineTable->Prologue.DefaultIsStmt);
552 unsigned RowNumber = LineTable->Rows.size();
559 LineTable->appendRow(Row);
566 LineTable->appendSequence(Sequence)
    [all...]
DWARFVerifier.cpp 727 auto LineTable = DCtx.getLineTableForUnit(CU.get());
729 if (!LineTable) {
738 assert(LineTable == nullptr);
762 auto LineTable = DCtx.getLineTableForUnit(CU.get());
765 if (!LineTable)
769 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size();
772 for (const auto &FileName : LineTable->Prologue.FileNames) {
786 const bool HasFullPath = LineTable->getFileNameByIndex(
808 for (const auto &Row : LineTable->Rows) {
820 LineTable->Rows[RowIndex - 1].dump(OS)
    [all...]
DWARFContext.cpp 63 using DWARFLineTable = DWARFDebugLine::LineTable;
928 const DWARFDebugLine::LineTable *
930 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable =
939 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit(
1239 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) {
1240 LineTable->getFileLineInfoForAddress(
1275 const DWARFLineTable *LineTable = getLineTableForUnit(CU);
1279 if (!LineTable->lookupAddressRange({Address.Address, Address.SectionIndex},
1286 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex];
1288 LineTable->getFileNameByIndex(Row.File, CU->getCompilationDir()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
DWARFDebugLine.h 233 struct LineTable {
234 LineTable();
309 const LineTable *getLineTable(uint64_t Offset) const;
310 Expected<const LineTable *>
334 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler,
371 ParsingState(struct LineTable *LT, uint64_t TableOffset,
402 struct LineTable *LineTable;
414 using LineTableMapTy = std::map<uint64_t, LineTable>;
DWARFContext.h 321 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
325 Expected<const DWARFDebugLine::LineTable *>
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
DwarfTransformer.cpp 28 const DWARFDebugLine::LineTable *LineTable;
35 LineTable = DICtx.getLineTableForUnit(CU);
38 if (LineTable)
39 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX);
67 if (!LineTable)
74 if (LineTable->getFileNameByIndex(
260 if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector)) {
269 FI.OptLineTable = LineTable();
278 FI.OptLineTable = LineTable();
    [all...]
LineTable.cpp 1 //===- LineTable.cpp --------------------------------------------*- C++ -*-===//
9 #include "llvm/DebugInfo/GSYM/LineTable.h"
59 "0x%8.8" PRIx64 ": missing LineTable MinDelta", Offset);
63 "0x%8.8" PRIx64 ": missing LineTable MaxDelta", Offset);
68 "0x%8.8" PRIx64 ": missing LineTable FirstLine", Offset);
122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const {
123 // Users must verify the LineTable is valid prior to calling this funtion.
124 // We don't want to emit any LineTable objects if they are not valid since
128 "attempted to encode invalid LineTable object");
209 "LineEntry in LineTable not in ascending order")
    [all...]
FunctionInfo.cpp 12 #include "llvm/DebugInfo/GSYM/LineTable.h"
76 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr))
115 // writing the LineTable out with the number of bytes that were written.
124 "LineTable length is greater than UINT32_MAX");
125 // Fixup the size of the LineTable data with the correct size.
133 // writing the LineTable out with the number of bytes that were written.
203 if (auto ExpectedLE = LineTable::lookup(InfoData, FuncAddr, Addr))
GsymReader.cpp 18 #include "llvm/DebugInfo/GSYM/LineTable.h"
357 void GsymReader::dump(raw_ostream &OS, const LineTable &LT) {
358 OS << "LineTable:\n";
  /src/sys/external/bsd/acpica/dist/tools/acpisrc/
asfile.c 314 ACPI_IDENTIFIER_TABLE *LineTable;
326 LineTable = ConversionTable->SourceLineTable;
337 LineTable = ConversionTable->HeaderLineTable;
348 LineTable = ConversionTable->PatchLineTable;
392 if (LineTable)
394 for (i = 0; LineTable[i].Identifier; i++)
396 AsRemoveLine (FileBuffer, LineTable[i].Identifier);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/
DWARFLinkerDeclContext.h 158 const DWARFDebugLine::LineTable &LineTable);
  /src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
DWARFLinkerDeclContext.cpp 193 const DWARFDebugLine::LineTable &LineTable) {
199 bool FoundFileName = LineTable.getFileNameByIndex(
DWARFLinker.cpp 1656 DWARFDebugLine::LineTable LineTable;
1665 LineTable.parse(LineExtractor, &StmtOffset, OrigDwarf,
1671 NewRows.reserve(LineTable.Rows.size());
1690 for (auto &Row : LineTable.Rows) {
1760 if (LineTable.Prologue.getVersion() < 2 ||
1761 LineTable.Prologue.getVersion() > 5 ||
1762 LineTable.Prologue.DefaultIsStmt != DWARF2_LINE_DEFAULT_IS_STMT ||
1763 LineTable.Prologue.OpcodeBase > 13)
1766 uint32_t PrologueEnd = *StmtList + 10 + LineTable.Prologue.PrologueLength
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
DWARFYAML.h 138 struct LineTable {
227 std::vector<LineTable> DebugLines;
262 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable)
342 template <> struct MappingTraits<DWARFYAML::LineTable> {
343 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable);
  /src/external/apache2/llvm/dist/clang/lib/Basic/
SourceManager.cpp 296 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID,
301 if (!LineTable)
302 LineTable.reset(new LineTableInfo());
303 return *LineTable;
345 if (LineTable)
346 LineTable->clear();
1484 assert(LineTable && "Can't have linetable entries without a LineTable!");
1487 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/lib/
FileAnalysis.cpp 439 const auto &LineTable = DWARF->getLineTableForUnit(Unit.get());
440 if (LineTable && !LineTable->Rows.empty()) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
SymbolCache.h 84 mutable DenseMap<uint16_t, std::vector<LineTableEntry>> LineTable;
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
SymbolCache.cpp 445 auto LineTableIter = LineTable.find(Modi);
446 if (LineTableIter != LineTable.end())
449 std::vector<LineTableEntry> &ModuleLineTable = LineTable[Modi];
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCContext.cpp 877 const MCDwarfLineTable &LineTable = getMCDwarfLineTable(CUID);
880 if (FileNumber >= LineTable.getMCDwarfFiles().size())
883 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty();

Completed in 80 milliseconds

1 2