Do plumbing work for CodeView debug info.
authorRui Ueyama <ruiu@google.com>
Mon, 21 Nov 2016 17:22:35 +0000 (17:22 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 21 Nov 2016 17:22:35 +0000 (17:22 +0000)
commitbe939b3ff6aba44ff8d760852a24e39a0f70d084
treec2a90c7bc47badcf22bce872406d1eacd8a859a2
parente9bab5d8571e8c4b9becf9fd2330d6557715238e
Do plumbing work for CodeView debug info.

Previously, we discarded .debug$ sections. This patch adds them to
files so that PDB.cpp can access them.

This patch also adds a debug option, /dumppdb, to dump debug info
fed to createPDB so that we can verify that valid data has been passed.

llvm-svn: 287555
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/InputFiles.cpp
lld/COFF/InputFiles.h
lld/COFF/Options.td
lld/COFF/PDB.cpp
lld/COFF/SymbolTable.h
lld/test/COFF/dumppdb.test [new file with mode: 0644]