Home
last modified time | relevance | path

Searched refs:SectionNameOrErr (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp150 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress()
152 if (!SectionNameOrErr) in mapVirtualAddress()
153 consumeError(SectionNameOrErr.takeError()); in mapVirtualAddress()
155 Name = *SectionNameOrErr; in mapVirtualAddress()
182 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress() local
183 if (!SectionNameOrErr) { in mapVirtualAddress()
184 consumeError(SectionNameOrErr.takeError()); in mapVirtualAddress()
187 if (*SectionNameOrErr == ".text" || *SectionNameOrErr == "CODE" || in mapVirtualAddress()
188 *SectionNameOrErr == ".code") { in mapVirtualAddress()
205 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress()
[all …]
H A DLVCodeViewReader.cpp461 Expected<StringRef> SectionNameOrErr = Section.getName(); in loadPrecompiledObject() local
462 if (!SectionNameOrErr) in loadPrecompiledObject()
463 return SectionNameOrErr.takeError(); in loadPrecompiledObject()
464 if (*SectionNameOrErr == ".debug$P") { in loadPrecompiledObject()
857 Expected<StringRef> SectionNameOrErr = Section.getName(); in createScopes() local
858 if (!SectionNameOrErr) in createScopes()
859 return SectionNameOrErr.takeError(); in createScopes()
862 if (*SectionNameOrErr == ".debug$T" || *SectionNameOrErr == ".debug$P") in createScopes()
863 if (Error Err = traverseTypeSection(*SectionNameOrErr, Section)) in createScopes()
871 Expected<StringRef> SectionNameOrErr = Section.getName(); in createScopes() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp789 Expected<StringRef> SectionNameOrErr = EF.getSectionName(Sec); in decodeBBAddrMapImpl() local
790 if (!SectionNameOrErr) in decodeBBAddrMapImpl()
791 return SectionNameOrErr.takeError(); in decodeBBAddrMapImpl()
793 Decompressor::create(*SectionNameOrErr, toStringRef(*ContentsOrErr), in decodeBBAddrMapImpl()
H A DCOFFObjectFile.cpp331 Expected<StringRef> SectionNameOrErr = getSectionName(Ref); in isDebugSection() local
332 if (!SectionNameOrErr) { in isDebugSection()
334 consumeError(SectionNameOrErr.takeError()); in isDebugSection()
337 StringRef SectionName = SectionNameOrErr.get(); in isDebugSection()
H A DMachOObjectFile.cpp2063 Expected<StringRef> SectionNameOrErr = getSectionName(Sec); in isDebugSection() local
2064 if (!SectionNameOrErr) { in isDebugSection()
2066 consumeError(SectionNameOrErr.takeError()); in isDebugSection()
2069 StringRef SectionName = SectionNameOrErr.get(); in isDebugSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h1019 Expected<StringRef> SectionNameOrErr = getSectionName(Sec); in isDebugSection() local
1020 if (!SectionNameOrErr) { in isDebugSection()
1022 consumeError(SectionNameOrErr.takeError()); in isDebugSection()
1025 StringRef SectionName = SectionNameOrErr.get(); in isDebugSection()