Create a TPI stream only when /debugpdb is given.
authorRui Ueyama <ruiu@google.com>
Sat, 10 Dec 2016 17:23:23 +0000 (17:23 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 10 Dec 2016 17:23:23 +0000 (17:23 +0000)
commit327705d17d1fad90fc826b40bb298eb503d5e634
treef8a55d69028084ef07ef0d01d49c91dd0f3c3b96
parent54945a12ecbb9575f57d147c48a158fc612c6ded
Create a TPI stream only when /debugpdb is given.

Adding type records to TPI stream is too time consuming.
It is reported that linking chrome_child.dll took 5 minutes.

llvm-svn: 289330
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/Options.td
lld/COFF/PDB.cpp
lld/test/COFF/pdb.test