Revert "Support embedding natvis files in PDBs."

This is causing a test failure on a certain bot, so I'm removing
this temporarily until we can figure out the source of the error.

llvm-svn: 327903
This commit is contained in:
Zachary Turner
2018-03-19 20:41:59 +00:00
parent bd5ff79dd0
commit a21558897b
30 changed files with 44 additions and 646 deletions

View File

@@ -933,12 +933,9 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) {
// Handle /pdb
bool ShouldCreatePDB = Args.hasArg(OPT_debug, OPT_debug_ghash);
if (ShouldCreatePDB) {
if (ShouldCreatePDB)
if (auto *Arg = Args.getLastArg(OPT_pdb))
Config->PDBPath = Arg->getValue();
if (Args.hasArg(OPT_natvis))
Config->NatvisFiles = Args.getAllArgValues(OPT_natvis);
}
// Handle /noentry
if (Args.hasArg(OPT_noentry)) {