This is an archive of the discontinued LLVM Phabricator instance.

[PDB] Fix section contributions
ClosedPublic

Authored by rnk on Aug 3 2017, 1:48 PM.

Details

Summary

PDB section contributions are supposed to use output section indices and
offsets, not input section indices and offsets.

This allows the debugger to look up the index of the module that it
should look up in the modules stream for symbol information. With this
change, windbg can now find line tables, but it still cannot print local
variables.

Fixes PR34048

Diff Detail

Repository
rL LLVM

Event Timeline

rnk created this revision.Aug 3 2017, 1:48 PM
zturner accepted this revision.Aug 3 2017, 2:03 PM
zturner added inline comments.
llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
75–77 ↗(On Diff #109624)

Pass by const&?

This revision is now accepted and ready to land.Aug 3 2017, 2:03 PM
rnk marked an inline comment as done.Aug 3 2017, 2:12 PM
This revision was automatically updated to reflect the committed changes.