Home
last modified time | relevance | path

Searched refs:StringTable (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Object/
H A DArchiveWriter.cpp252 raw_ostream &StringTable, in printMemberHeader() argument
268 NamePos = StringTable.tell(); in printMemberHeader()
269 addToStringTable(StringTable, ArcName, M, Thin); in printMemberHeader()
273 Insertion.first->second = StringTable.tell(); in printMemberHeader()
274 addToStringTable(StringTable, ArcName, M, Thin); in printMemberHeader()
332 StringRef StringTable) { in writeSymbolTable() argument
335 if (StringTable.empty() && !isDarwin(Kind)) in writeSymbolTable()
352 Size += StringTable.size(); in writeSymbolTable()
388 printNBits(Out, Kind, StringTable.size()); in writeSymbolTable()
389 Out << StringTable; in writeSymbolTable()
[all …]
H A DWindowsResource.cpp159 StringTable.push_back(Entry.getTypeString()); in parse()
162 StringTable.push_back(Entry.getNameString()); in parse()
350 const ArrayRef<std::vector<UTF16>> StringTable; member in llvm::object::WindowsResourceCOFFWriter
360 Data(Parser.getData()), StringTable(Parser.getStringTable()) { in WindowsResourceCOFFWriter()
391 for (auto const &String : StringTable) { in performSectionOneLayout()
669 for (auto &String : StringTable) { in writeDirectoryStringTable()
H A DCOFFObjectFile.cpp136 auto End = reinterpret_cast<uintptr_t>(StringTable); in moveSymbolNext()
427 getObject(StringTable, Data, StringTableAddr, StringTableSize)) in initSymbolTablePtr()
436 if (StringTableSize > 4 && StringTable[StringTableSize - 1] != 0) in initSymbolTablePtr()
670 SymbolTable32(nullptr), StringTable(nullptr), StringTableSize(0), in COFFObjectFile()
771 StringTable = nullptr; in COFFObjectFile()
815 Ret.p = reinterpret_cast<uintptr_t>(StringTable); in symbol_end()
1018 Result = StringRef(StringTable + Offset); in getString()
/freebsd-12.1/contrib/openmp/runtime/src/
H A DextractExternal.cpp102 class StringTable { class
137 StringTable(rstream &f) { in StringTable() function in StringTable
157 StringTable(const set<string> &strings) { in StringTable() function in StringTable
191 ~StringTable() { delete[] data; } in ~StringTable()
258 StringTable stringTable(f); // read the string table in computeExternalSymbols()
309 StringTable stringTableOld(in); // read original string table in hideSymbols()
338 StringTable stringTableNew = StringTable(strings); in hideSymbols()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp287 SequenceToOffsetTable<std::string> StringTable; in EmitPrintInstruction() local
302 StringTable.add(Str); in EmitPrintInstruction()
306 StringTable.layout(); in EmitPrintInstruction()
314 Idx = StringTable.get(""); in EmitPrintInstruction()
318 Idx = StringTable.get(Str); in EmitPrintInstruction()
383 StringTable.emit(O, printChar); in EmitPrintInstruction()
502 SequenceToOffsetTable<std::string> StringTable; in emitRegisterNameString() local
535 StringTable.add(AsmName); in emitRegisterNameString()
538 StringTable.layout(); in emitRegisterNameString()
540 StringTable.emit(O, printChar); in emitRegisterNameString()
[all …]
H A DAsmMatcherEmitter.cpp2825 StringToOffsetTable &StringTable, in emitCustomOperandParsing() argument
2885 OS << ", " << StringTable.GetOrAddStringOffset(LenMnemonic, false) in emitCustomOperandParsing()
3284 StringToOffsetTable StringTable; in run() local
3296 StringTable.GetOrAddStringOffset(LenMnemonic, false)); in run()
3300 StringTable.EmitString(OS); in run()
3359 OS << " { " << StringTable.GetOrAddStringOffset(LenMnemonic, false) in run()
3814 emitCustomOperandParsing(OS, Target, Info, ClassName, StringTable, in run()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DInputFiles.cpp263 StringTable = in initSymtab()
788 SourceFile = CHECK(Sym->getName(this->StringTable), this); in createSymbol()
790 if (this->StringTable.size() <= Sym->st_name) in createSymbol()
793 StringRefZ Name = this->StringTable.data() + Sym->st_name; in createSymbol()
800 StringRef Name = CHECK(Sym->getName(this->StringTable), this); in createSymbol()
907 if (Val >= this->StringTable.size()) in parseDynamic()
909 DtNeeded.push_back(this->StringTable.data() + Val); in parseDynamic()
912 if (Val >= this->StringTable.size()) in parseDynamic()
914 SoName = this->StringTable.data() + Val; in parseDynamic()
1016 StringRef Name = CHECK(Sym.getName(this->StringTable), this); in parseRest()
[all …]
H A DInputFiles.h151 StringRef getStringTable() const { return StringTable; } in getStringTable()
162 StringRef StringTable; variable
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugStringTableSubsection.h37 return S->kind() == DebugSubsectionKind::StringTable; in classof()
62 return S->kind() == DebugSubsectionKind::StringTable; in classof()
H A DStringsAndChecksums.h49 if (R.kind() == DebugSubsectionKind::StringTable && !Strings) { in initialize()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DYAMLOutputStyle.cpp107 bool RequestedStringTable = opts::pdb2yaml::StringTable; in dumpStringTable()
115 Obj.StringTable.emplace(); in dumpStringTable()
123 Obj.StringTable->push_back(*S); in dumpStringTable()
186 case DebugSubsectionKind::StringTable: in convertSubsectionKind()
187 return opts::ModuleSubsection::StringTable; in convertSubsectionKind()
H A DInputFile.cpp168 auto StringTable = File->pdb().getStringTable(); in initializeForPdb() local
169 if (StringTable) in initializeForPdb()
170 SC.setStrings(StringTable->getStringTable()); in initializeForPdb()
172 consumeError(StringTable.takeError()); in initializeForPdb()
H A Dllvm-pdbutil.h47 StringTable, enumerator
190 extern llvm::cl::opt<bool> StringTable;
H A DFormatUtil.cpp109 RETURN_CASE(DebugSubsectionKind, StringTable, "strings"); in formatChunkKind()
127 RETURN_CASE(DebugSubsectionKind, StringTable, "DEBUG_S_STRINGTABLE"); in formatChunkKind()
H A DPdbYaml.h111 Optional<std::vector<StringRef>> StringTable; member
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DDebugStringTableSubsection.cpp24 : DebugSubsectionRef(DebugSubsectionKind::StringTable) {} in DebugStringTableSubsectionRef()
46 : DebugSubsection(DebugSubsectionKind::StringTable) {} in DebugStringTableSubsection()
H A DStringsAndChecksums.cpp35 assert(SR.kind() == DebugSubsectionKind::StringTable); in initializeStrings()
H A DDebugSubsectionVisitor.cpp72 case DebugSubsectionKind::StringTable: { in visitDebugSubsection()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMachObjectWriter.cpp47 StringTable.clear(); in reset()
542 StringTable.add(Symbol.getName()); in computeSymbolTable()
544 StringTable.finalize(); in computeSymbolTable()
561 MSD.StringIndex = StringTable.getOffset(Symbol.getName()); in computeSymbolTable()
587 MSD.StringIndex = StringTable.getOffset(Symbol.getName()); in computeSymbolTable()
923 StringTableOffset, StringTable.getSize()); in writeObject()
1023 StringTable.write(W.OS); in writeObject()
H A DMCCodeView.cpp151 StringTable.insert(std::make_pair(S, unsigned(Contents.size()))); in addToStringTable()
166 auto I = StringTable.find(S); in getStringTableOffset()
167 assert(I != StringTable.end()); in getStringTableOffset()
176 OS.EmitIntValue(unsigned(DebugSubsectionKind::StringTable), 4); in emitStringTable()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DWindowsResource.h157 return StringTable; in getStringTable()
217 std::vector<std::vector<UTF16>> StringTable; variable
H A DArchive.h266 StringRef getStringTable() const { return StringTable; } in getStringTable()
275 StringRef StringTable; variable
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.h199 BTFStringTable StringTable; variable
264 size_t addString(StringRef S) { return StringTable.addString(S); } in addString()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCCodeView.h219 StringMap<unsigned> StringTable;
H A DMCMachObjectWriter.h115 StringTableBuilder StringTable{StringTableBuilder::MachO};

12