This is an archive of the discontinued LLVM Phabricator instance.

[pdb/lld] Add an empty globals stream
ClosedPublic

Authored by zturner on Jul 11 2017, 7:50 PM.

Details

Summary

This is similar to the patch for adding an empty publics stream, but this patch adds an empty globals stream. With this we are outputting at least something for every stream that MSVC outputs, even if our stream is empty

Diff Detail

Repository
rL LLVM

Event Timeline

zturner created this revision.Jul 11 2017, 7:50 PM

Note that this still doesn't get our PDBs working with MSVC. next steps:

  1. try to figure out what to write for the various fields of th Publics stream header, as well as drilling into symbol streams and comparing record for record.
  2. Write actual FPO data to the fpo stream
  3. Write something for section headers and section map
rnk accepted this revision.Jul 12 2017, 6:44 PM

lgtm

This revision is now accepted and ready to land.Jul 12 2017, 6:44 PM
This revision was automatically updated to reflect the committed changes.