summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-07-15 22:16:56 +0000
committerZachary Turner <zturner@google.com>2016-07-15 22:16:56 +0000
commitfaa554b2fd6c327cb9cc0ac9983bd3c178f2276c (patch)
tree7cb1be7bc7dfee1244fb8d6767036955aa276875 /llvm/lib/Object/ELF.cpp
parent93be6e8c0ada7f77b93db16c81b2160f82780ae6 (diff)
downloadbcm5719-llvm-faa554b2fd6c327cb9cc0ac9983bd3c178f2276c.tar.gz
bcm5719-llvm-faa554b2fd6c327cb9cc0ac9983bd3c178f2276c.zip
[pdb] Use MsfBuilder to handle the writing PDBs.
Previously we would read a PDB, then write some of it back out, but write the directory, super block, and other pertinent metadata back out unchanged. This generates incorrect PDBs since the amount of data written was not always the same as the amount of data read. This patch changes things to use the newly introduced `MsfBuilder` class to write out a correct and accurate set of Msf metadata for the data *actually* written, which opens up the door for adding and removing type records, symbol records, and other types of data to an existing PDB. llvm-svn: 275627
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud