Home
last modified time | relevance | path

Searched refs:toStringRef (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp45 m->Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
51 abbrevSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
53 strSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
55 lineStrSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
67 infoSection.Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
H A DSymbolTable.cpp274 found |= assignExactVersion({(pat.name + "@" + v.name).toStringRef(buf), in scanVersionScript()
295 assignWildcardVersion({(pat.name + "@" + ver).toStringRef(buf), in scanVersionScript()
H A DEhFrame.cpp84 StringRef s = toStringRef(d.slice(0, end - d.begin())); in readString()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringExtras.h56 inline StringRef toStringRef(bool B) { return StringRef(B ? "true" : "false"); } in toStringRef() function
59 inline StringRef toStringRef(ArrayRef<uint8_t> Input) { in toStringRef() function
62 inline StringRef toStringRef(ArrayRef<char> Input) { in toStringRef() function
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp426 if (!a.isTriviallyEmpty()) components.push_back(a.toStringRef(a_storage)); in append()
427 if (!b.isTriviallyEmpty()) components.push_back(b.toStringRef(b_storage)); in append()
428 if (!c.isTriviallyEmpty()) components.push_back(c.toStringRef(c_storage)); in append()
429 if (!d.isTriviallyEmpty()) components.push_back(d.toStringRef(d_storage)); in append()
484 StringRef ext = extension.toStringRef(ext_storage); in replace_extension()
617 StringRef p = path.toStringRef(path_storage); in has_root_name()
624 StringRef p = path.toStringRef(path_storage); in has_root_directory()
631 StringRef p = path.toStringRef(path_storage); in has_root_path()
638 StringRef p = path.toStringRef(path_storage); in has_relative_path()
645 StringRef p = path.toStringRef(path_storage); in has_filename()
[all …]
H A DMemoryBuffer.cpp77 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new()
165 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN()
317 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer()
H A DTwine.cpp29 return toStringRef(Vec).str(); in str()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSourceLocationSpec.cpp60 s << "check inlines = " << llvm::toStringRef(m_check_inlines); in Dump()
61 s << ", exact match = " << llvm::toStringRef(m_exact_match); in Dump()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp69 auto text = toStringRef(data_sp->GetData()); in CreateInstance()
96 auto text = toStringRef(data_sp->GetData()); in GetModuleSpecifications()
133 llvm::StringRef text = toStringRef(m_data.GetData()); in CreateSections()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp109 CompileUnit->setCompilationDirectory(dwarf::toStringRef(FormValue)); in processOneAttribute()
116 llvm::toHex(llvm::toStringRef(Expr), /*LowerCase=*/true)); in processOneAttribute()
132 CurrentElement->setValue(dwarf::toStringRef(FormValue)); in processOneAttribute()
163 CurrentElement->setName(dwarf::toStringRef(FormValue)); in processOneAttribute()
166 CurrentElement->setValue(dwarf::toStringRef(FormValue)); in processOneAttribute()
170 CurrentElement->setLinkageName(dwarf::toStringRef(FormValue)); in processOneAttribute()
174 CurrentElement->setProducer(dwarf::toStringRef(FormValue)); in processOneAttribute()
446 StringRef Name(dwarf::toStringRef(LinkageDIE)); in processOneDie()
532 std::string File = transformPath(dwarf::toStringRef(Entry.Name)); in createLineAndFileRecords()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp26 return identify_magic(toStringRef(data->GetData())) == in IsCOFFObjectFile()
80 MemoryBufferRef buffer{toStringRef(data_sp->GetData()), in CreateInstance()
113 MemoryBufferRef buffer{toStringRef(data_sp->GetData()), in GetModuleSpecifications()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.cpp60 SysRoot = dwarf::toStringRef(CU.find(dwarf::DW_AT_LLVM_sysroot)).str(); in getSysRoot()
91 DataExtractor Data(toStringRef(*ExprLockBlock), in markEverythingAsKept()
/freebsd/contrib/llvm-project/lld/MachO/
H A DDwarf.cpp37 *s = toStringRef(isec->data); in create()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSourceFile.cpp40 return toStringRef(Checksum.Checksum).str(); in getChecksum()
H A DNativeEnumInjectedSources.cpp32 Result += toStringRef(Data); in readStreamData()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/
H A DCommonConfig.cpp45 ("^" + Pattern.ltrim('^').rtrim('$') + "$").toStringRef(Data))); in create()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp330 StringRef Filename = Path.toStringRef(OwnedFilename); in status()
401 StringRef Filename = Path.toStringRef(OwnedFilename); in openFileForRead()
416 StringRef OriginalFilename = Path.toStringRef(OwnedFilename); in getRealPath()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp138 name, llvm::MemoryBuffer::getMemBuffer(toStringRef(data.GetData()), in GetAsLLVM()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp43 if (llvm::identify_magic(toStringRef(data_sp->GetData())) != in ValidateModuleHeader()
75 llvm::StringRef str = toStringRef(llvm::ArrayRef(str_storage)); in GetWasmString()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFLinkerCompileUnit.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DAddressesMap.h125 DataExtractor Data(toStringRef(*Expr), U->getContext().isLittleEndian(), in getVariableRelocAdjustment()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DInitHeaderSearch.cpp111 StringRef MappedPathStr = Path.toStringRef(MappedPathStorage); in AddPath()
128 StringRef MappedPathStr = Path.toStringRef(MappedPathStorage); in AddUnmappedPath()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp208 (Twine("struct.") + renamer.newName()).toStringRef(NameStorage)); in MetaRename()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp219 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol()
242 StringRef NameRef = Name.toStringRef(SV); in parseSymbol()
476 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol()
663 StringRef UniqueMapKey = Section.toStringRef(Buffer); in getELFSection()

1234