pdb: make SuperBlock def public

This commit is contained in:
Jakub Konka 2022-11-12 09:40:40 +01:00 committed by Andrew Kelley
parent bc33243650
commit 56195aa73c

View File

@ -972,9 +972,9 @@ fn blockCountFromSize(size: u32, block_size: u32) u32 {
}
// https://llvm.org/docs/PDB/MsfFile.html#the-superblock
const SuperBlock = extern struct {
pub const SuperBlock = extern struct {
/// The LLVM docs list a space between C / C++ but empirically this is not the case.
const file_magic = "Microsoft C/C++ MSF 7.00\r\n\x1a\x44\x53\x00\x00\x00";
pub const file_magic = "Microsoft C/C++ MSF 7.00\r\n\x1a\x44\x53\x00\x00\x00";
FileMagic: [file_magic.len]u8,