llvm-project/lld/COFF
Eric Astor a39b14f0b4 [ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files.
Summary:
/PDBSTREAM:<name>=<file> adds the contents of <file> to stream <name> in the resulting PDB.

This allows native uses with workflows that (for example) add srcsrv streams to PDB files to provide a location for the build's source files.

Results should be equivalent to linking with lld-link, then running Microsoft's pdbstr tool with the command line:
pdbstr.exe -w -p:<PDB LOCATION> -s:<name> -i:<file>
except in cases where the named stream overlaps with a default named stream, such as "/names". In those cases, the added stream will be overridden, making the /pdbstream option a no-op.

Reviewers: thakis, rnk

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D77310
2020-04-07 16:19:38 -04:00
..
CMakeLists.txt [lld-link] Support /map option, matching link.exe 's /map output format 2020-03-24 09:48:00 -04:00
Chunks.cpp [COFF] Rename variale references in comments after VariableName -> variableName change 2019-07-16 08:26:38 +00:00
Chunks.h [COFF] Align ARM64 range extension thunks at instruction boundary 2020-01-10 19:03:17 -08:00
Config.h [ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files. 2020-04-07 16:19:38 -04:00
DLL.cpp dummy comment typo fix commit to cycle the bots 2019-10-10 02:04:56 +00:00
DLL.h [COFF] Share the tail in delayimport symbol thunks 2019-07-11 21:19:11 +00:00
DebugTypes.cpp Remove namespace lld { namespace coff { from COFF LLD cpp files 2020-02-25 17:30:53 -08:00
DebugTypes.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
Driver.cpp [ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files. 2020-04-07 16:19:38 -04:00
Driver.h lld-link: Add a flag /lldignoreenv that makes lld-link ignore env vars. 2019-09-13 13:13:52 +00:00
DriverUtils.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ICF.cpp dummy comment typo fix commit to cycle the bots 2019-10-10 02:04:56 +00:00
ICF.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
InputFiles.cpp Make helpers static. NFC. 2020-04-03 12:48:25 +02:00
InputFiles.h [COFF] Avoid CodeView include in header 2019-11-14 14:27:48 -08:00
LLDMapFile.cpp [lld-link] Support /map option, matching link.exe 's /map output format 2020-03-24 09:48:00 -04:00
LLDMapFile.h [lld-link] Support /map option, matching link.exe 's /map output format 2020-03-24 09:48:00 -04:00
LTO.cpp [ThinLTO] Allow usage of all hardware threads in the system 2020-03-27 10:20:58 -04:00
LTO.h [lld-link] implement -thinlto-index-only 2019-07-11 18:03:14 +00:00
MapFile.cpp [lld-link] Support /map option, matching link.exe 's /map output format 2020-03-24 09:48:00 -04:00
MapFile.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
MarkLive.cpp [COFF] Don't treat DWARF sections as GC roots 2020-03-27 12:37:43 -07:00
MarkLive.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
MinGW.cpp Remove namespace lld { namespace coff { from COFF LLD cpp files 2020-02-25 17:30:53 -08:00
MinGW.h [COFF] Don't include llvm/LTO/LTO.h in a header 2019-11-14 13:47:18 -08:00
Options.td [ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files. 2020-04-07 16:19:38 -04:00
PDB.cpp [ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files. 2020-04-07 16:19:38 -04:00
PDB.h [LLD] [COFF] Wrap file location pair<StringRef,int> in Optional<>. NFC. 2019-10-15 09:18:18 +00:00
README.md
SymbolTable.cpp lld: Reduce number of references to undefined printed from 10 to 3. 2020-03-30 14:31:32 -04:00
SymbolTable.h [LLD] [COFF] Try to report source locations for duplicate symbols 2019-10-18 10:43:15 +00:00
Symbols.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Symbols.h [LLD] [COFF] Fix post-commit suggestions for absolute symbol equality 2020-01-08 22:10:05 +02:00
TypeMerger.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
Writer.cpp [lld-link] Support /map option, matching link.exe 's /map output format 2020-03-24 09:48:00 -04:00
Writer.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00

README.md

See docs/NewLLD.rst