Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h43 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()
133 minidump::StreamType::MemoryInfoList) {} in MemoryInfoListStream()
138 minidump::StreamType::MemoryInfoList), in MemoryInfoListStream()
189 TextContentStream(minidump::StreamType Type, StringRef Text = {})
[all …]
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h404 template <typename Self, typename StreamType>
428 void newline(StreamType &SS) { in newline()
525 void printNull(StreamType &SS) { in printNull()
668 void printCode(const Code *E, StreamType &SS) { in printCode()
731 void printCall(const Call *E, StreamType &SS) { in printCall()
748 void printLoad(const Load *E, StreamType &SS) { in printLoad()
784 void printCast(const Cast *E, StreamType &SS) { in printCast()
815 void printSCFG(const SCFG *E, StreamType &SS) { in printSCFG()
860 void printPhi(const Phi *E, StreamType &SS) { in printPhi()
875 void printGoto(const Goto *E, StreamType &SS) { in printGoto()
[all …]
/llvm-project-15.0.7/llvm/lib/Object/
H A DMinidump.cpp18 MinidumpFile::getRawStream(minidump::StreamType Type) const { in getRawStream()
58 Optional<ArrayRef<uint8_t>> Stream = getRawStream(StreamType::MemoryInfoList); in getMemoryInfoList()
75 Expected<ArrayRef<T>> MinidumpFile::getListStream(StreamType Type) const { in getListStream()
95 MinidumpFile::getListStream(StreamType) const;
97 MinidumpFile::getListStream(StreamType) const;
99 MinidumpFile::getListStream(StreamType) const;
128 DenseMap<StreamType, std::size_t> StreamMap; in create()
130 StreamType Type = StreamDescriptor.value().Type; in create()
138 if (Type == StreamType::Unused && Loc.DataSize == 0) { in create()
144 if (Type == DenseMapInfo<StreamType>::getEmptyKey() || in create()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMinidump.h45 Optional<ArrayRef<uint8_t>> getRawStream(minidump::StreamType Type) const;
63 return getStream<minidump::SystemInfo>(minidump::StreamType::SystemInfo); in getSystemInfo()
72 return getListStream<minidump::Module>(minidump::StreamType::ModuleList); in getModuleList()
81 return getListStream<minidump::Thread>(minidump::StreamType::ThreadList); in getThreadList()
90 minidump::StreamType::Exception); in getExceptionStream()
102 minidump::StreamType::MemoryList); in getMemoryList()
166 DenseMap<minidump::StreamType, std::size_t> StreamMap) in MinidumpFile() argument
177 Expected<const T &> getStream(minidump::StreamType Stream) const;
182 Expected<ArrayRef<T>> getListStream(minidump::StreamType Stream) const;
186 DenseMap<minidump::StreamType, std::size_t> StreamMap;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMinidump.h50 enum class StreamType : uint32_t { enum
121 support::little_t<StreamType> Type;
253 template <> struct DenseMapInfo<minidump::StreamType> {
254 static minidump::StreamType getEmptyKey() { return minidump::StreamType(-1); }
256 static minidump::StreamType getTombstoneKey() {
257 return minidump::StreamType(-2);
260 static unsigned getHashValue(minidump::StreamType Val) {
264 static bool isEqual(minidump::StreamType LHS, minidump::StreamType RHS) {
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp894 (unsigned)(StreamType)stream_desc.Type, in DoExecute()
898 auto DumpTextStream = [&](StreamType stream_type, in DoExecute()
907 auto DumpBinaryStream = [&](StreamType stream_type, in DoExecute()
943 DumpTextStream(StreamType::FacebookAppCustomData, in DoExecute()
961 DumpTextStream(StreamType::FacebookJavaStack, in DoExecute()
964 DumpTextStream(StreamType::FacebookDalvikInfo, in DoExecute()
970 DumpTextStream(StreamType::FacebookDumpErrorLog, in DoExecute()
973 DumpTextStream(StreamType::FacebookAppStateLog, in DoExecute()
976 DumpTextStream(StreamType::FacebookAbortReason, in DoExecute()
979 DumpTextStream(StreamType::FacebookThreadName, in DoExecute()
[all …]
H A DMinidumpParser.cpp47 llvm::ArrayRef<uint8_t> MinidumpParser::GetStream(StreamType stream_type) { in GetStream()
215 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::MiscInfo); in GetMiscInfo()
224 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::LinuxProcStatus); in GetLinuxProcStatus()
259 auto data = parser.GetStream(StreamType::LinuxMaps); in CreateRegionsCacheFromLinuxMaps()
431 llvm::ArrayRef<uint8_t> data64 = GetStream(StreamType::Memory64List); in FindMemoryRange()
580 parser.GetStream(StreamType::Memory64List); in CreateRegionsCacheFromMemory64List()
629 case StreamType::ST: \
633 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);
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp72 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()
85 case StreamType::LinuxCMDLine: in getKind()
86 case StreamType::LinuxMaps: in getKind()
87 case StreamType::LinuxProcStat: in getKind()
90 case StreamType::ThreadList: in getKind()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp44 dir.Type = static_cast<llvm::support::little_t<StreamType>>(type); in AddDirectory()
214 AddDirectory(StreamType::ModuleList, module_stream_size); in AddModuleList()
417 AddDirectory(StreamType::ThreadList, thread_stream_size); in AddThreadList()
517 AddDirectory(StreamType::Exception, minidump_exception_size); in AddException()
615 AddDirectory(StreamType::MemoryList, in AddMemoryList()
631 AddDirectory(StreamType::MiscInfo, in AddMiscInfo()
667 {StreamType::LinuxCPUInfo, "/proc/cpuinfo"}, in AddLinuxFileStreams()
668 {StreamType::LinuxLSBRelease, "/etc/lsb-release"}, in AddLinuxFileStreams()
683 {StreamType::LinuxAuxv, "/proc/" + pid_str + "/auxv"}); in AddLinuxFileStreams()
685 {StreamType::LinuxMaps, "/proc/" + pid_str + "/maps"}); in AddLinuxFileStreams()
[all …]
H A DMinidumpFileBuilder.h82 void AddDirectory(llvm::minidump::StreamType type, size_t stream_size);
/llvm-project-15.0.7/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()
142 std::shared_ptr<StreamType> SharedImpl;
143 StreamType *BorrowedImpl = nullptr;
/llvm-project-15.0.7/llvm/unittests/ObjectYAML/
H A DMinidumpYAMLTest.cpp52 EXPECT_EQ(StreamType::SystemInfo, File.streams()[0].Type); in TEST()
60 EXPECT_EQ(StreamType::LinuxMaps, File.streams()[1].Type); in TEST()
65 toStringRef(*File.getRawStream(StreamType::LinuxMaps))); in TEST()
67 EXPECT_EQ(StreamType::LinuxAuxv, File.streams()[2].Type); in TEST()
69 File.getRawStream(StreamType::LinuxAuxv)); in TEST()
85 File.getRawStream(StreamType::LinuxAuxv)); in TEST()
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DFPMatcher.cpp22 template <typename ValType, typename StreamType>
24 describeValue(const char *label, ValType value, StreamType &stream) { in describeValue()
H A DFPMatcher.h23 template <typename ValType, typename StreamType>
25 describeValue(const char *label, ValType value, StreamType &stream);
/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DRunnerUtils.h40 template <typename T, typename StreamType>
41 void printMemRefMetaData(StreamType &os, const DynamicMemRefType<T> &v) { in printMemRefMetaData()
58 template <typename StreamType, typename T, int N>
59 void printMemRefMetaData(StreamType &os, StridedMemRefType<T, N> &v) { in printMemRefMetaData()
65 template <typename StreamType, typename T>
66 void printUnrankedMemRefMetaData(StreamType &os, UnrankedMemRefType<T> &v) { in printUnrankedMemRefMetaData()
/llvm-project-15.0.7/llvm/unittests/Object/
H A DMinidumpTest.cpp51 EXPECT_EQ(StreamType::LinuxCPUInfo, Stream0.Type); in TEST()
57 toStringRef(*File.getRawStream(StreamType::LinuxCPUInfo))); in TEST()
201 EXPECT_EQ(StreamType::Unused, File.streams()[0].Type); in TEST()
202 EXPECT_EQ(StreamType::Unused, File.streams()[1].Type); in TEST()
203 EXPECT_EQ(None, File.getRawStream(StreamType::Unused)); in TEST()
/llvm-project-15.0.7/lldb/test/Shell/Minidump/
H A Dfb-dump.test45 # CHECK-DIR: RVA SIZE TYPE StreamType
H A Ddump-all.test42 # CHECKDIR: RVA SIZE TYPE StreamType