| commit | 91ef9de643e9a7043bcf88599882e6d8345d46cf | [log] [tgz] |
|---|---|---|
| author | Reid Kleckner <rnk@google.com> | Tue Jun 20 21:19:22 2017 +0000 |
| committer | Reid Kleckner <rnk@google.com> | Tue Jun 20 21:19:22 2017 +0000 |
| tree | 5e5e886ce94d945d1a634b42c61134ab7ca45567 | |
| parent | 4d121e21823cf0b2c53829e1e2889582754f1ab9 [diff] |
[codeview] YAMLize all section offsets and indices in symbol records We forgot to serialize these because llvm-readobj didn't dump them. They are typically all zeros in an object file. The linker fills them in with relocations before adding them to the PDB. Now we can properly round trip these symbols through pdb2yaml -> yaml2pdb. I made these fields optional with a zero default so that we can elide them from our test cases. llvm-svn: 305857