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.h39 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} in Stream()
43 const minidump::StreamType Type;
46 static StreamKind getKind(minidump::StreamType Type);
49 static std::unique_ptr<Stream> create(minidump::StreamType Type);
75 static constexpr minidump::StreamType Type = minidump::StreamType::ModuleList;
86 static constexpr minidump::StreamType Type = minidump::StreamType::ThreadList;
96 static constexpr minidump::StreamType Type = minidump::StreamType::MemoryList;
113 : Stream(StreamKind::Exception, minidump::StreamType::Exception), in ExceptionStream()
118 : Stream(StreamKind::Exception, minidump::StreamType::Exception), in ExceptionStream()
133 minidump::StreamType::MemoryInfoList) {} in MemoryInfoListStream()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h404 template <typename Self, typename StreamType>
420 static void print(const SExpr *E, StreamType &SS) { in print()
428 void newline(StreamType &SS) { in newline()
485 void printBlockLabel(StreamType & SS, const BasicBlock *BB, int index) { in printBlockLabel()
498 void printSExpr(const SExpr *E, StreamType &SS, unsigned P, bool Sub=true) {
525 void printNull(StreamType &SS) { in printNull()
529 void printFuture(const Future *E, StreamType &SS) { in printFuture()
533 void printUndefined(const Undefined *E, StreamType &SS) { in printUndefined()
537 void printWildcard(const Wildcard *E, StreamType &SS) { in printWildcard()
542 void printLiteralT(const LiteralT<T> *E, StreamType &SS) { in printLiteralT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp18 MinidumpFile::getRawStream(minidump::StreamType Type) const { in getRawStream()
59 getRawStream(StreamType::MemoryInfoList); in getMemoryInfoList()
76 Expected<ArrayRef<T>> MinidumpFile::getListStream(StreamType Type) const { in getListStream()
96 MinidumpFile::getListStream(StreamType) const;
98 MinidumpFile::getListStream(StreamType) const;
100 MinidumpFile::getListStream(StreamType) const;
129 DenseMap<StreamType, std::size_t> StreamMap; in create()
131 StreamType Type = StreamDescriptor.value().Type; in create()
139 if (Type == StreamType::Unused && Loc.DataSize == 0) { in create()
145 if (Type == DenseMapInfo<StreamType>::getEmptyKey() || in create()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h46 getRawStream(minidump::StreamType Type) const;
64 return getStream<minidump::SystemInfo>(minidump::StreamType::SystemInfo); in getSystemInfo()
73 return getListStream<minidump::Module>(minidump::StreamType::ModuleList); in getModuleList()
82 return getListStream<minidump::Thread>(minidump::StreamType::ThreadList); in getThreadList()
91 minidump::StreamType::Exception); in getExceptionStream()
103 minidump::StreamType::MemoryList); in getMemoryList()
167 DenseMap<minidump::StreamType, std::size_t> StreamMap) in MinidumpFile() argument
178 Expected<const T &> getStream(minidump::StreamType Stream) const;
183 Expected<ArrayRef<T>> getListStream(minidump::StreamType Stream) const;
187 DenseMap<minidump::StreamType, std::size_t> StreamMap;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMinidump.h50 enum class StreamType : uint32_t { enum
126 support::little_t<StreamType> Type;
258 template <> struct DenseMapInfo<minidump::StreamType> {
259 static minidump::StreamType getEmptyKey() { return minidump::StreamType(-1); }
261 static minidump::StreamType getTombstoneKey() {
262 return minidump::StreamType(-2);
265 static unsigned getHashValue(minidump::StreamType Val) {
269 static bool isEqual(minidump::StreamType LHS, minidump::StreamType RHS) {
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp819 (unsigned)(StreamType)stream_desc.Type, in DoExecute()
823 auto DumpTextStream = [&](StreamType stream_type, in DoExecute()
832 auto DumpBinaryStream = [&](StreamType stream_type, in DoExecute()
848 DumpTextStream(StreamType::LinuxCPUInfo, "/proc/cpuinfo"); in DoExecute()
850 DumpTextStream(StreamType::LinuxProcStatus, "/proc/PID/status"); in DoExecute()
852 DumpTextStream(StreamType::LinuxLSBRelease, "/etc/lsb-release"); in DoExecute()
854 DumpTextStream(StreamType::LinuxCMDLine, "/proc/PID/cmdline"); in DoExecute()
856 DumpTextStream(StreamType::LinuxEnviron, "/proc/PID/environ"); in DoExecute()
858 DumpBinaryStream(StreamType::LinuxAuxv, "/proc/PID/auxv"); in DoExecute()
860 DumpTextStream(StreamType::LinuxMaps, "/proc/PID/maps"); in DoExecute()
[all …]
H A DMinidumpParser.cpp48 llvm::ArrayRef<uint8_t> MinidumpParser::GetStream(StreamType stream_type) { in GetStream()
216 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::MiscInfo); in GetMiscInfo()
225 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::LinuxProcStatus); in GetLinuxProcStatus()
260 auto data = parser.GetStream(StreamType::LinuxMaps); in CreateRegionsCacheFromLinuxMaps()
432 llvm::ArrayRef<uint8_t> data64 = GetStream(StreamType::Memory64List); in FindMemoryRange()
581 parser.GetStream(StreamType::Memory64List); in CreateRegionsCacheFromMemory64List()
630 case StreamType::ST: \
634 MinidumpParser::GetStreamTypeAsString(StreamType stream_type) { in GetStreamTypeAsString()
H A DMinidumpParser.h57 llvm::ArrayRef<uint8_t> GetStream(StreamType stream_type);
95 static llvm::StringRef GetStreamTypeAsString(StreamType stream_type);
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp70 Stream::StreamKind Stream::getKind(StreamType Type) { in getKind()
72 case StreamType::Exception: in getKind()
74 case StreamType::MemoryInfoList: in getKind()
76 case StreamType::MemoryList: in getKind()
78 case StreamType::ModuleList: in getKind()
80 case StreamType::SystemInfo: in getKind()
82 case StreamType::LinuxCPUInfo: in getKind()
83 case StreamType::LinuxProcStatus: in getKind()
84 case StreamType::LinuxLSBRelease: in getKind()
85 case StreamType::LinuxCMDLine: in getKind()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h23 template <class RefType, class StreamType> class BinaryStreamRefBase {
26 explicit BinaryStreamRefBase(StreamType &BorrowedImpl) in BinaryStreamRefBase()
32 BinaryStreamRefBase(std::shared_ptr<StreamType> SharedImpl, uint64_t Offset, in BinaryStreamRefBase()
36 BinaryStreamRefBase(StreamType &BorrowedImpl, uint64_t Offset, in BinaryStreamRefBase()
140 std::shared_ptr<StreamType> SharedImpl; in checkOffsetForRead()
141 StreamType *BorrowedImpl = nullptr;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp98 Status MinidumpFileBuilder::AddDirectory(StreamType type, in AddDirectory()
123 dir.Type = static_cast<llvm::support::little_t<StreamType>>(type); in AddDirectory()
135 AddDirectory(StreamType::SystemInfo, sizeof(llvm::minidump::SystemInfo)); in AddSystemInfo()
307 error = AddDirectory(StreamType::ModuleList, module_stream_size); in AddModuleList()
600 error = AddDirectory(StreamType::ThreadList, thread_stream_size); in AddThreadList()
697 error = AddDirectory(StreamType::Exception, minidump_exception_size); in AddExceptions()
734 error = AddDirectory(StreamType::MiscInfo, in AddMiscInfo()
777 std::vector<std::pair<StreamType, std::string>> files_with_stream_types = { in AddLinuxFileStreams()
778 {StreamType::LinuxCPUInfo, "/proc/cpuinfo"}, in AddLinuxFileStreams()
779 {StreamType::LinuxLSBRelease, "/etc/lsb-release"}, in AddLinuxFileStreams()
[all …]
H A DMinidumpFileBuilder.h132 lldb_private::Status AddDirectory(llvm::minidump::StreamType type,