Lines Matching refs:StringRef
56 static StringRef getBasename(StringRef path) {
97 static bool ignoredSymbolName(StringRef name) {
175 StringRef name = check(coffObj->getSymbolName(coffSym));
230 StringRef leaderName) {
233 StringRef name;
234 if (Expected<StringRef> e = coffObj->getSectionName(sec))
243 directives = StringRef((const char *)data.data(), data.size());
312 StringRef name = check(coffObj->getSymbolName(sym));
314 StringRef parentName;
316 if (Expected<StringRef> e = coffObj->getSectionName(parentSec))
346 COFFSymbolRef sym, DenseMap<StringRef, uint32_t> &prevailingSectionMap) {
357 StringRef name = sc->getSectionName().split('$').second;
364 const DenseMap<StringRef, uint32_t> &prevailingSectionMap) {
365 StringRef name = check(coffObj->getSymbolName(sym));
379 StringRef name = check(coffObj->getSymbolName(sym));
406 DenseMap<StringRef, uint32_t> prevailingSectionMap;
447 StringRef name = check(coffObj->getSymbolName(sym));
466 StringRef name = check(coffObj->getSymbolName(sym));
562 StringRef name = check(coffObj->getSymbolName(sym));
596 StringRef name = getName();
688 ArrayRef<uint8_t> ObjFile::getDebugSection(StringRef secName) {
804 static std::string getPdbBaseName(ObjFile *file, StringRef tSPath) {
805 StringRef localPath =
819 static std::string normalizePdbPath(StringRef path) {
828 static Optional<std::string> findPdbPath(StringRef pdbPath,
846 PDBInputFile *PDBInputFile::findFromRecordPath(StringRef path,
857 void PDBInputFile::enqueue(StringRef path, ObjFile *fromFile) {
892 Optional<std::pair<StringRef, uint32_t>>
893 ObjFile::getVariableLocation(StringRef var) {
920 static StringRef ltrim1(StringRef s, const char *chars) {
935 StringRef name = saver.save(StringRef(buf + sizeof(*hdr)));
936 StringRef impName = saver.save("__imp_" + name);
938 dllName = std::string(StringRef(nameStart));
939 StringRef extName;
976 BitcodeFile::BitcodeFile(MemoryBufferRef mb, StringRef archiveName,
980 BitcodeFile::BitcodeFile(MemoryBufferRef mb, StringRef archiveName,
1012 StringRef symName = saver.save(objSym.getName());
1057 std::string lld::coff::replaceThinLTOSuffix(StringRef path) {
1058 StringRef suffix = config->thinLTOObjectSuffixReplace.first;
1059 StringRef repl = config->thinLTOObjectSuffixReplace.second;