Searched refs:StringOffset (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/contrib/llvm/include/llvm/TableGen/ |
| H A D | StringToOffsetTable.h | 26 StringMap<unsigned> StringOffset; variable 30 bool Empty() const { return StringOffset.empty(); } in Empty() 34 StringOffset.insert(std::make_pair(Str, AggregateString.size()));
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.h | 358 uint32_t StringOffset; variable 363 uint32_t StringOffset, uint32_t EntryOffset) in NameTableEntry() argument 364 : StrData(StrData), Index(Index), StringOffset(StringOffset), in NameTableEntry() 371 uint32_t getStringOffset() const { return StringOffset; } in getStringOffset() 376 uint32_t Off = StringOffset; in getString()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.cpp | 174 unsigned StringOffset = AccelSection.getRelocatedValue(4, DataOffset); in dumpName() local 175 if (!StringOffset) in dumpName() 179 W.startLine() << format("String: 0x%08x", StringOffset); in dumpName() 180 W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n"; in dumpName() 355 unsigned StringOffset = AccelSection.getRelocatedValue(4, &DataOffset); in equal_range() local 356 if (!StringOffset) in equal_range() 360 if (Key == StringSection.getCStr(&StringOffset)) in equal_range() 631 uint32_t StringOffset = AS.getRelocatedValue(4, &StringOffsetOffset); in getNameTableEntry() local 634 return {Section.StringSection, Index, StringOffset, EntryOffset}; in getNameTableEntry()
|
| H A D | DWARFContext.cpp | 185 uint64_t StringOffset = in dumpDWARFv5StringOffsetsSection() local 189 if (StringOffset <= std::numeric_limits<uint32_t>::max()) { in dumpDWARFv5StringOffsetsSection() 190 uint32_t StringOffset32 = (uint32_t)StringOffset; in dumpDWARFv5StringOffsetsSection() 196 OS << format("%16.16" PRIx64 " ", StringOffset); in dumpDWARFv5StringOffsetsSection() 238 uint32_t StringOffset = strOffsetExt.getU32(&offset); in dumpStringOffsetsSection() local 239 OS << format("%8.8x ", StringOffset); in dumpStringOffsetsSection() 240 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
|
| H A D | DWARFVerifier.cpp | 645 uint64_t StringOffset = *DieCU->getStringOffsetSectionItem(Index); in verifyDebugInfoForm() local 646 if (StringOffset >= DObj.getStringSection().size()) { in verifyDebugInfoForm() 891 uint32_t StringOffset; in verifyAppleAccelTable() local 905 StringOffset = StrpOffset; in verifyAppleAccelTable() 906 const char *Name = StrData->getCStr(&StringOffset); in verifyAppleAccelTable()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | Archive.cpp | 156 std::size_t StringOffset; in getName() local 157 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName() 171 if (StringOffset >= Parent->getStringTable().size()) { in getName() 174 return malformedError("long name offset " + Twine(StringOffset) + " past " in getName() 182 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset); in getName() 186 Twine(StringOffset) + "not terminated"); in getName() 188 return Parent->getStringTable().slice(StringOffset, End - 1); in getName() 190 return Parent->getStringTable().begin() + StringOffset; in getName()
|
| H A D | ArchiveWriter.cpp | 378 for (unsigned StringOffset : M.Symbols) { in writeSymbolTable() local 380 printNBits(Out, Kind, StringOffset); in writeSymbolTable()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/ |
| H A D | MILexer.cpp | 287 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local 293 ++StringOffset; in maybeLexMachineBasicBlock() 301 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock() 328 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local 331 ++StringOffset; in maybeLexIndexAndName() 337 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 572 uint32_t StringOffset = 0; in emitBTFSection() local 574 OS.AddComment("string offset=" + std::to_string(StringOffset)); in emitBTFSection() 577 StringOffset += S.size() + 1; in emitBTFSection()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Expr.cpp | 1129 unsigned StringOffset = 0; in getLocationOfByte() local 1133 StringOffset = *StartTokenByteOffset; in getLocationOfByte() 1134 ByteNo -= StringOffset; in getLocationOfByte() 1152 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1178 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1185 StringOffset += TokNumBytes; in getLocationOfByte()
|