Home
last modified time | relevance | path

Searched refs:SuperBlock (Results 1 – 25 of 25) sorted by relevance

/external/llvm/tools/llvm-pdbdump/
DYAMLOutputStyle.cpp55 Obj.Headers->SuperBlock.NumBlocks = File.getBlockCount(); in dumpFileHeaders()
56 Obj.Headers->SuperBlock.BlockMapAddr = File.getBlockMapIndex(); in dumpFileHeaders()
58 Obj.Headers->SuperBlock.BlockSize = File.getBlockSize(); in dumpFileHeaders()
62 Obj.Headers->SuperBlock.NumDirectoryBytes = File.getNumDirectoryBytes(); in dumpFileHeaders()
65 Obj.Headers->SuperBlock.Unknown0 = File.getUnknown0(); in dumpFileHeaders()
66 Obj.Headers->SuperBlock.Unknown1 = File.getUnknown1(); in dumpFileHeaders()
DPdbYaml.h29 PDBFile::SuperBlock SuperBlock; member
80 template <> struct MappingTraits<pdb::PDBFile::SuperBlock> {
81 static void mapping(IO &IO, pdb::PDBFile::SuperBlock &SB);
DPdbYaml.cpp116 IO.mapRequired("SuperBlock", Obj.SuperBlock); in mapping()
124 void MappingTraits<PDBFile::SuperBlock>::mapping(IO &IO, in mapping()
125 PDBFile::SuperBlock &SB) { in mapping()
Dllvm-pdbdump.cpp327 ExitOnErr(Builder.setSuperBlock(YamlObj.Headers->SuperBlock)); in yamlToPdb()
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFileBuilder.cpp28 Error PDBFileBuilder::setSuperBlock(const PDBFile::SuperBlock &B) { in setSuperBlock()
29 auto SB = static_cast<PDBFile::SuperBlock *>( in setSuperBlock()
30 File->Allocator.Allocate(sizeof(PDBFile::SuperBlock), in setSuperBlock()
31 llvm::AlignOf<PDBFile::SuperBlock>::Alignment)); in setSuperBlock()
32 ::memcpy(SB, &B, sizeof(PDBFile::SuperBlock)); in setSuperBlock()
DPDBFile.cpp296 Error PDBFile::setSuperBlock(const SuperBlock *Block) { in setSuperBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/PDB/
DMsfFile.rst20 in ``SuperBlock::BlockSize``. The file consists of 1 or more iterations of the
24 2. Free Block Map 1 (corresponds to ``SuperBlock::FreeBlockMapBlock`` 1)
25 3. Free Block Map 2 (corresponds to ``SuperBlock::FreeBlockMapBlock`` 2)
26 4. ``SuperBlock::BlockSize - 3`` blocks of data
50 At file offset 0 in an MSF file is the MSF *SuperBlock*, which is laid out as
55 struct SuperBlock {
103 the file to disk do you need to swap the value in the SuperBlock to point to
128 And this structure occupies exactly ``SuperBlock->NumDirectoryBytes`` bytes.
159 In total, this occupies ``15 * 4 = 60`` bytes, so ``SuperBlock->NumDirectoryBytes``
160 would equal ``60``, and ``SuperBlock->BlockMapAddr`` would be an array of one
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/
DMSFCommon.h32 struct SuperBlock { struct
65 const SuperBlock *SB = nullptr; argument
157 Error validateSuperBlock(const SuperBlock &SB);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPdbYaml.h40 msf::SuperBlock SuperBlock; member
116 LLVM_YAML_DECLARE_MAPPING_TRAITS(msf::SuperBlock)
DYAMLOutputStyle.cpp82 Obj.Headers->SuperBlock.NumBlocks = File.getBlockCount(); in dumpFileHeaders()
83 Obj.Headers->SuperBlock.BlockMapAddr = File.getBlockMapIndex(); in dumpFileHeaders()
84 Obj.Headers->SuperBlock.BlockSize = File.getBlockSize(); in dumpFileHeaders()
88 Obj.Headers->SuperBlock.NumDirectoryBytes = File.getNumDirectoryBytes(); in dumpFileHeaders()
91 Obj.Headers->SuperBlock.FreeBlockMapBlock = File.getFreeBlockMapBlock(); in dumpFileHeaders()
92 Obj.Headers->SuperBlock.Unknown1 = File.getUnknown1(); in dumpFileHeaders()
DExplainOutputStyle.cpp155 if (pdbBlockOffset() < endof(SuperBlock, MagicBytes)) in explainPdbSuperBlockOffset()
157 else if (pdbBlockOffset() < endof(SuperBlock, BlockSize)) { in explainPdbSuperBlockOffset()
161 } else if (pdbBlockOffset() < endof(SuperBlock, FreeBlockMapBlock)) { in explainPdbSuperBlockOffset()
165 } else if (pdbBlockOffset() < endof(SuperBlock, NumBlocks)) { in explainPdbSuperBlockOffset()
169 } else if (pdbBlockOffset() < endof(SuperBlock, NumDirectoryBytes)) { in explainPdbSuperBlockOffset()
173 } else if (pdbBlockOffset() < endof(SuperBlock, Unknown1)) { in explainPdbSuperBlockOffset()
177 } else if (pdbBlockOffset() < endof(SuperBlock, BlockMapAddr)) { in explainPdbSuperBlockOffset()
182 assert(pdbBlockOffset() > sizeof(SuperBlock)); in explainPdbSuperBlockOffset()
DPdbYaml.cpp116 IO.mapOptional("SuperBlock", Obj.SuperBlock); in mapping()
123 void MappingTraits<msf::SuperBlock>::mapping(IO &IO, msf::SuperBlock &SB) { in mapping()
Dllvm-pdbutil.cpp697 BlockSize = YamlObj.Headers->SuperBlock.BlockSize; in yamlToPdb()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DPDBFile.h52 struct SuperBlock { struct
125 Error setSuperBlock(const SuperBlock *Block);
130 const PDBFile::SuperBlock *SB;
DPDBFileBuilder.h39 Error setSuperBlock(const PDBFile::SuperBlock &B);
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml.test8 ; YAML-NEXT: SuperBlock:
53 ; NO-HEADERS-NOT: SuperBlock:
Dpdb-yaml-symbols.test7 YAML: SuperBlock:
Dpdbdump-yaml-types.test6 YAML: SuperBlock:
/external/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml.test8 ; YAML-NEXT: SuperBlock:
82 ; NO-HEADERS-NOT: SuperBlock:
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/
DMSFCommonTest.cpp27 SuperBlock SB; in TEST()
93 SuperBlock SB; in TEST()
DMSFBuilderTest.cpp25 void initializeSimpleSuperBlock(msf::SuperBlock &SB) { in initializeSimpleSuperBlock()
31 void initializeSuperBlock(msf::SuperBlock &SB) { in initializeSuperBlock()
48 SuperBlock SB; in TEST_F()
56 SuperBlock SB; in TEST_F()
DMappedBlockStreamTest.cpp505 SuperBlock SB; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFCommon.cpp20 Error llvm::msf::validateSuperBlock(const SuperBlock &SB) { in validateSuperBlock()
DMSFBuilder.cpp252 SuperBlock *SB = Allocator.Allocate<SuperBlock>(); in generateLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DPDBFile.cpp124 const msf::SuperBlock *SB = nullptr; in parseFileHeaders()