Home
last modified time | relevance | path

Searched refs:StringOffset (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DStringToOffsetTable.h26 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 DDWARFAcceleratorTable.h358 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 DDWARFAcceleratorTable.cpp174 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 DDWARFContext.cpp185 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 DDWARFVerifier.cpp645 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 DArchive.cpp156 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 DArchiveWriter.cpp378 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 DMILexer.cpp287 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 DBTFDebug.cpp572 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 DExpr.cpp1129 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()