| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/MSF/ |
| MSFCommon.cpp | 1 //===- MSFCommon.cpp - Common types and functions for MSF files -----------===// 9 #include "llvm/DebugInfo/MSF/MSFCommon.h" 10 #include "llvm/DebugInfo/MSF/MSFError.h" 17 using namespace llvm::msf; 19 Error llvm::msf::validateSuperBlock(const SuperBlock &SB) { 23 "MSF magic header doesn't match"); 62 MSFStreamLayout llvm::msf::getFpmStreamLayout(const MSFLayout &Msf, 67 getNumFpmIntervals(Msf, IncludeUnusedFpmData, AltFpm); 69 uint32_t FpmBlock = AltFpm ? Msf.alternateFpmBlock() : Msf.mainFpmBlock() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| InfoStreamBuilder.cpp | 11 #include "llvm/DebugInfo/MSF/MSFBuilder.h" 12 #include "llvm/DebugInfo/MSF/MappedBlockStream.h" 22 using namespace llvm::msf; 25 InfoStreamBuilder::InfoStreamBuilder(msf::MSFBuilder &Msf, 27 : Msf(Msf), Ver(PdbRaw_ImplVer::PdbImplVC70), Age(0), 53 if (auto EC = Msf.setStreamSize(StreamPDB, Length)) 58 Error InfoStreamBuilder::commit(const msf::MSFLayout &Layout, 61 Layout, Buffer, StreamPDB, Msf.getAllocator()) [all...] |
| PDBFileBuilder.cpp | 10 #include "llvm/DebugInfo/MSF/MSFBuilder.h" 29 using namespace llvm::msf; 43 Msf = std::make_unique<MSFBuilder>(std::move(*ExpectedMsf)); 47 MSFBuilder &PDBFileBuilder::getMsfBuilder() { return *Msf; } 51 Info = std::make_unique<InfoStreamBuilder>(*Msf, NamedStreams); 57 Dbi = std::make_unique<DbiStreamBuilder>(*Msf); 63 Tpi = std::make_unique<TpiStreamBuilder>(*Msf, StreamTPI); 69 Ipi = std::make_unique<TpiStreamBuilder>(*Msf, StreamIPI); 79 Gsi = std::make_unique<GSIStreamBuilder>(*Msf); 85 auto ExpectedStream = Msf->addStream(Size) [all...] |
| TpiStreamBuilder.cpp | 14 #include "llvm/DebugInfo/MSF/MSFBuilder.h" 15 #include "llvm/DebugInfo/MSF/MappedBlockStream.h" 31 using namespace llvm::msf; 35 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) 36 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { 148 if (auto EC = Msf.setStreamSize(Idx, Length)) 157 auto ExpectedIndex = Msf.addStream(HashStreamSize); 176 Error TpiStreamBuilder::commit(const msf::MSFLayout &Layout [all...] |
| DbiStreamBuilder.cpp | 14 #include "llvm/DebugInfo/MSF/MSFBuilder.h" 15 #include "llvm/DebugInfo/MSF/MappedBlockStream.h" 25 using namespace llvm::msf; 28 DbiStreamBuilder::DbiStreamBuilder(msf::MSFBuilder &Msf) 29 : Msf(Msf), Allocator(Msf.getAllocator()), Age(1), BuildNumber(0), 114 std::make_unique<DbiModuleDescriptorBuilder>(ModuleName, Index, Msf)); 312 auto ExpectedIndex = Msf.addStream(S->Size) [all...] |
| GSIStreamBuilder.cpp | 20 #include "llvm/DebugInfo/MSF/MSFBuilder.h" 21 #include "llvm/DebugInfo/MSF/MSFCommon.h" 22 #include "llvm/DebugInfo/MSF/MappedBlockStream.h" 33 using namespace llvm::msf; 285 GSIStreamBuilder::GSIStreamBuilder(msf::MSFBuilder &Msf) 286 : Msf(Msf), PSH(std::make_unique<GSIHashStreamBuilder>()), 310 Expected<uint32_t> Idx = Msf.addStream(calculateGlobalsHashStreamSize()); 315 Idx = Msf.addStream(calculatePublicsHashStreamSize()) [all...] |
| DbiModuleDescriptorBuilder.cpp | 14 #include "llvm/DebugInfo/MSF/MSFBuilder.h" 15 #include "llvm/DebugInfo/MSF/MSFCommon.h" 16 #include "llvm/DebugInfo/MSF/MappedBlockStream.h" 25 using namespace llvm::msf; 41 msf::MSFBuilder &Msf) 42 : MSF(Msf), ModuleName(std::string(ModuleName)) { 139 MSF.addStream(calculateDiSymbolStreamSize(SymbolByteSize, C13Size)); 161 const msf::MSFLayout &MsfLayout, WritableBinaryStreamRef MsfBuffer) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ |
| InfoStreamBuilder.h | 23 namespace msf { namespace in namespace:llvm 32 InfoStreamBuilder(msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams); 57 Error commit(const msf::MSFLayout &Layout, 61 msf::MSFBuilder &Msf;
|
| TpiStreamBuilder.h | 38 namespace msf { namespace in namespace:llvm 49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx); 64 Error commit(const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer); 75 msf::MSFBuilder &Msf;
|
| GSIStreamBuilder.h | 35 namespace msf { namespace in namespace:llvm 38 } // namespace msf 47 explicit GSIStreamBuilder(msf::MSFBuilder &Msf); 55 Error commit(const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer); 87 msf::MSFBuilder &Msf;
|
| DbiStreamBuilder.h | 30 namespace msf { namespace in namespace:llvm 45 DbiStreamBuilder(msf::MSFBuilder &Msf); 80 Error commit(const msf::MSFLayout &Layout, WritableBinaryStreamRef MsfBuffer); 107 msf::MSFBuilder &Msf;
|
| PDBFileBuilder.h | 27 namespace msf { namespace in namespace:llvm 45 msf::MSFBuilder &getMsfBuilder(); 82 const msf::MSFLayout &Layout); 84 const msf::MSFLayout &Layout); 88 std::unique_ptr<msf::MSFBuilder> Msf;
|
| DbiModuleDescriptorBuilder.h | 31 namespace msf { namespace in namespace:llvm 70 msf::MSFBuilder &Msf); 132 Error commitSymbolStream(const msf::MSFLayout &MsfLayout, 139 msf::MSFBuilder &MSF;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/MSF/ |
| MSFCommon.h | 1 //===- MSFCommon.h - Common types and functions for MSF files ---*- C++ -*-===// 21 namespace msf { namespace in namespace:llvm 40 // practice, NumBlocks * BlockSize is equivalent to the size of the MSF 71 /// Describes the layout of a stream in an MSF layout. A "stream" here 72 /// is defined as any logical unit of data which may be arranged inside the MSF 74 /// from a particular MSF Stream, we fill out a stream layout structure and the 75 /// reader uses it to determine which blocks in the underlying MSF file contain 83 /// Determine the layout of the FPM stream, given the MSF layout. An FPM 86 MSFStreamLayout getFpmStreamLayout(const MSFLayout &Msf, 120 /// Given an MSF with the specified block size and number of blocks, determin [all...] |