[lld] r297900 - [pdb] Write the module info and symbol record streams.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 15:18:53 PDT 2017
Author: zturner
Date: Wed Mar 15 17:18:53 2017
New Revision: 297900
URL: http://llvm.org/viewvc/llvm-project?rev=297900&view=rev
Log:
[pdb] Write the module info and symbol record streams.
Previously we did not have support for writing detailed
module information for each module, as well as the symbol
records. This patch adds support for this, and in doing
so enables the ability to construct minimal PDBs from
just a few lines of YAML. A test is added to illustrate
this functionality.
Modified:
lld/trunk/COFF/PDB.cpp
Modified: lld/trunk/COFF/PDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/PDB.cpp?rev=297900&r1=297899&r2=297900&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Wed Mar 15 17:18:53 2017
@@ -228,7 +228,7 @@ void coff::createPDB(StringRef Path, Sym
pdb::DbiStreamBuilder::createSectionMap(Sections);
DbiBuilder.setSectionMap(SectionMap);
- ExitOnErr(DbiBuilder.addModuleInfo("", "* Linker *"));
+ ExitOnErr(DbiBuilder.addModuleInfo("* Linker *"));
// Add COFF section header stream.
ExitOnErr(
More information about the llvm-commits
mailing list