Home
last modified time | relevance | path

Searched refs:StreamType (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h40 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} in Stream()
44 const minidump::StreamType Type;
47 static StreamKind getKind(minidump::StreamType Type);
50 static std::unique_ptr<Stream> create(minidump::StreamType Type);
76 static constexpr minidump::StreamType Type = minidump::StreamType::ModuleList;
87 static constexpr minidump::StreamType Type = minidump::StreamType::ThreadList;
97 static constexpr minidump::StreamType Type = minidump::StreamType::MemoryList;
105 static constexpr minidump::StreamType Type =
106 minidump::StreamType::Memory64List;
132 : Stream(StreamKind::Exception, minidump::StreamType::Exception), in ExceptionStream()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h398 template <typename Self, typename StreamType>
414 static void print(const SExpr *E, StreamType &SS) { in print()
422 void newline(StreamType &SS) { in newline()
479 void printBlockLabel(StreamType & SS, const BasicBlock *BB, int index) { in printBlockLabel()
492 void printSExpr(const SExpr *E, StreamType &SS, unsigned P, bool Sub=true) {
519 void printNull(StreamType &SS) { in printNull()
523 void printFuture(const Future *E, StreamType &SS) { in printFuture()
527 void printUndefined(const Undefined *E, StreamType &SS) { in printUndefined()
531 void printWildcard(const Wildcard *E, StreamType &SS) { in printWildcard()
536 void printLiteralT(const LiteralT<T> *E, StreamType &SS) { in printLiteralT()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMinidump.h50 enum class StreamType : uint32_t { enum
138 support::little_t<StreamType> Type;
272 template <> struct DenseMapInfo<minidump::StreamType> {
273 static minidump::StreamType getEmptyKey() { return minidump::StreamType(-1); }
275 static minidump::StreamType getTombstoneKey() {
276 return minidump::StreamType(-2);
279 static unsigned getHashValue(minidump::StreamType Val) {
283 static bool isEqual(minidump::StreamType LHS, minidump::StreamType RHS) {
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp17 MinidumpFile::getRawStream(minidump::StreamType Type) const { in getRawStream()
64 getRawStream(StreamType::MemoryInfoList); in getMemoryInfoList()
108 DenseMap<StreamType, std::size_t> StreamMap; in create()
111 StreamType Type = StreamDescriptor.value().Type; in create()
119 if (Type == StreamType::Unused && Loc.DataSize == 0) { in create()
127 if (Type == StreamType::Exception) { in create()
132 if (Type == DenseMapInfo<StreamType>::getEmptyKey() || in create()
133 Type == DenseMapInfo<StreamType>::getTombstoneKey()) in create()
157 getRawStream(StreamType::Memory64List); in getMemory64List()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp349 m_minidump_parser->GetStream(StreamType::LinuxAuxv); in GetAuxvData()
359 m_minidump_parser->GetRawStream(StreamType::LLDBGenerated); in IsLLDBMinidump()
869 (unsigned)(StreamType)stream_desc.Type, in DoExecute()
873 auto DumpTextStream = [&](StreamType stream_type, in DoExecute()
882 auto DumpBinaryStream = [&](StreamType stream_type, in DoExecute()
898 DumpTextStream(StreamType::LinuxCPUInfo, "/proc/cpuinfo"); in DoExecute()
900 DumpTextStream(StreamType::LinuxProcStatus, "/proc/PID/status"); in DoExecute()
902 DumpTextStream(StreamType::LinuxLSBRelease, "/etc/lsb-release"); in DoExecute()
904 DumpTextStream(StreamType::LinuxCMDLine, "/proc/PID/cmdline"); in DoExecute()
906 DumpTextStream(StreamType::LinuxEnviron, "/proc/PID/environ"); in DoExecute()
[all …]
H A DMinidumpParser.cpp48 llvm::ArrayRef<uint8_t> MinidumpParser::GetStream(StreamType stream_type) { in GetStream()
53 MinidumpParser::GetRawStream(StreamType stream_type) { in GetRawStream()
220 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::MiscInfo); in GetMiscInfo()
229 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::LinuxProcStatus); in GetLinuxProcStatus()
264 auto data = parser.GetStream(StreamType::LinuxMaps); in CreateRegionsCacheFromLinuxMaps()
465 if (!GetStream(StreamType::Memory64List).empty()) { in PopulateMemoryRanges()
566 if (!parser.GetStream(StreamType::Memory64List).empty()) { in CreateRegionsCacheFromMemoryList()
610 case StreamType::ST: \
613 llvm::StringRef MinidumpParser::GetStreamTypeAsString(StreamType stream_type) { in GetStreamTypeAsString()
H A DMinidumpParser.h74 llvm::ArrayRef<uint8_t> GetStream(StreamType stream_type);
75 std::optional<llvm::ArrayRef<uint8_t>> GetRawStream(StreamType stream_type);
116 static llvm::StringRef GetStreamTypeAsString(StreamType stream_type);
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h49 getRawStream(minidump::StreamType Type) const;
67 return getStream<minidump::SystemInfo>(minidump::StreamType::SystemInfo); in getSystemInfo()
76 return getListStream<minidump::Module>(minidump::StreamType::ModuleList); in getModuleList()
85 return getListStream<minidump::Thread>(minidump::StreamType::ThreadList); in getThreadList()
93 if (Directory.Type != minidump::StreamType::Exception) { in getExceptionStream()
119 minidump::StreamType::MemoryList); in getMemoryList()
126 minidump::StreamType::Memory64List); in getMemoryList64Header()
312 DenseMap<minidump::StreamType, std::size_t> StreamMap, in MinidumpFile() argument
331 Expected<const T &> getStream(minidump::StreamType Stream) const;
336 Expected<ArrayRef<T>> getListStream(minidump::StreamType Stream) const;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp69 Stream::StreamKind Stream::getKind(StreamType Type) { in getKind()
71 case StreamType::Exception: in getKind()
73 case StreamType::MemoryInfoList: in getKind()
75 case StreamType::MemoryList: in getKind()
77 case StreamType::Memory64List: in getKind()
79 case StreamType::ModuleList: in getKind()
81 case StreamType::SystemInfo: in getKind()
83 case StreamType::LinuxCPUInfo: in getKind()
84 case StreamType::LinuxProcStatus: in getKind()
85 case StreamType::LinuxLSBRelease: in getKind()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h24 template <class RefType, class StreamType> class BinaryStreamRefBase {
27 explicit BinaryStreamRefBase(StreamType &BorrowedImpl) in BinaryStreamRefBase()
33 BinaryStreamRefBase(std::shared_ptr<StreamType> SharedImpl, uint64_t Offset, in BinaryStreamRefBase()
37 BinaryStreamRefBase(StreamType &BorrowedImpl, uint64_t Offset, in BinaryStreamRefBase()
141 std::shared_ptr<StreamType> SharedImpl;
142 StreamType *BorrowedImpl = nullptr;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp100 Status MinidumpFileBuilder::AddDirectory(StreamType type, in AddDirectory()
126 dir.Type = static_cast<llvm::support::little_t<StreamType>>(type); in AddDirectory()
135 StreamType type = StreamType::LLDBGenerated; in AddLLDBGeneratedStream()
144 AddDirectory(StreamType::SystemInfo, sizeof(llvm::minidump::SystemInfo)); in AddSystemInfo()
318 error = AddDirectory(StreamType::ModuleList, module_stream_size); in AddModuleList()
617 error = AddDirectory(StreamType::ThreadList, thread_stream_size); in AddThreadList()
704 error = AddDirectory(StreamType::Exception, minidump_exception_size); in AddExceptions()
743 error = AddDirectory(StreamType::MiscInfo, in AddMiscInfo()
786 std::vector<std::pair<StreamType, std::string>> files_with_stream_types = { in AddLinuxFileStreams()
787 {StreamType::LinuxCPUInfo, "/proc/cpuinfo"}, in AddLinuxFileStreams()
[all …]
H A DMinidumpFileBuilder.h142 lldb_private::Status AddDirectory(llvm::minidump::StreamType type,