<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Zachary,</div><div><br></div><div>Thanks for the help on IRC earlier. I've got code that can capture a stack trace and then discover for each address, its module, function, source index, line, and column.</div><div><br></div><div>I still have a couple of loose ends though. Do you know what's going on here?</div><div><br></div><div>1. There appears to be 8 bytes before every LineFragmentHeader. Here's some of my own debug output, which matches llvm-pdbutil's output. You can see it says "unknown bytes: ...".<br></div><div dir="ltr"><br></div><div dir="ltr">read C13 line info 136720 bytes<br>unknown bytes: f2 00 00 00  60 00 00 00<br>LineFragmentHeader{ .RelocOffset = 0, .RelocSegment = 5, .Flags = LineFlags{ .LF_HaveColumns = true, .unused = 0 }, .CodeSize = 52 }<br>has column: true<br>LineBlockFragmentHeader{ .NameIndex = 0, .NumLines = 6, .BlockSize = 84 }<br>LineNumberEntry{ .Offset = 0, .Flags = 101 } Flags{ .Start = 101, .End = 17, .IsStatement = false }<br></div><div><snip some LineNumberEntry's></div><div>ColumnNumberEntry{ .StartColumn = 5, .EndColumn = 0 }<br>ColumnNumberEntry{ .StartColumn = 30, .EndColumn = 0 }<br>unknown bytes: f2 00 00 00  f0 00 00 00<br>LineFragmentHeader{ .RelocOffset = 64, .RelocSegment = 5, .Flags = LineFlags{ .LF_HaveColumns = true, .unused = 0 }, .CodeSize = 366 }<br>has column: true<br>LineBlockFragmentHeader{ .NameIndex = 8, .NumLines = 18, .BlockSize = 228 }<br>LineNumberEntry{ .Offset = 0, .Flags = 53 } Flags{ .Start = 53, .End = 20, .IsStatement = false }<br>LineNumberEntry{ .Offset = 20, .Flags = 54 } Flags{ .Start = 54, .End = 24, .IsStatement = false }</div><div><etc></div><div><br></div><div>Do you know what's going on with these 8 bytes? I have scoured llvm-pdbutil's source but I cannot find where these bytes are coming from.</div><div><br></div><div>2. Is there a simpler way to find out which is the /names (string table) stream index without porting the entire hash table implementation?<br></div><div><br></div></div></div></div></div>