summaryrefslogtreecommitdiffstats
path: root/lld/COFF/PDB.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Change for LLVM change r282940.Rui Ueyama2016-09-301-9/+1
| | | | llvm-svn: 282942
* Create FileOutputBuffer lazily.Rui Ueyama2016-09-261-9/+7
| | | | | | | | | So that it is clear that FileOutputBuffer does not depend on PDB file builder. Eventually we will have to to get the file size info from the file builder to create a file with the exact size. NFC. llvm-svn: 282454
* Partially fill Info stream with proper values.Rui Ueyama2016-09-161-2/+11
| | | | llvm-svn: 281795
* Use functions in DebugInfoPDB to create dummy PDB file.Rui Ueyama2016-09-161-19/+37
| | | | | | | I don't think we are creating valid PDB file here, but it is okay because we have never created valid PDBs before. llvm-svn: 281704
* Create PDB.h and move code to remove unnecessary #includes.Rui Ueyama2016-09-151-3/+3
| | | | llvm-svn: 281670
* Use SuperBlock struct defined in MSFCommon.h.Rui Ueyama2016-09-151-24/+17
| | | | llvm-svn: 281643
* COFF: Remove `void error()` functions and use fatal instead.Rui Ueyama2016-07-151-1/+2
| | | | | | This change makes the control flow more explicit. llvm-svn: 275504
* COFF: Remove unnecessary explicit calls of Twine ctor.Rui Ueyama2016-07-141-1/+1
| | | | llvm-svn: 275501
* COFF: Rename non-noreturn error -> check.Rui Ueyama2016-07-141-1/+1
| | | | | | The new name is consistent with ELF. llvm-svn: 275499
* COFF: Create an empty but valid PDF file.Rui Ueyama2015-12-081-6/+34
| | | | | | | | | | | MSVC linker considers PDB files created with this patch valid. So you don't have to remove PDB files created by lld before running MSVC linker. This patch has no test since llvm-pdbdump dislikes PDB files with no metadata streams. llvm-svn: 255039
* COFF: Create a PDB file with the correct file signature.Rui Ueyama2015-12-041-0/+32
Before this patch, we created an empty PDB file if /debug option is specified. For MSVC linker, such PDB file is completely broken, and linker exits without doing anything as soon as it finds an empty PDB file. A PDB file created in this patch has the correct file signature. MSVC linker still thinks that the file is broken, but it then removes and replaces with its output. This is an initial patch to support PDB in LLD. We aim to support PDB in order to make it 100% compatible with MSVC linker. PDB support is the last missing piece. llvm-svn: 254796
OpenPOWER on IntegriCloud