Commit 7733246d6e

Jakub Konka <kubkon@jakubkonka.com>
2022-11-12 09:40:40
pdb: make SuperBlock def public
1 parent df7223c
Changed files (1)
lib
lib/std/pdb.zig
@@ -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,