[PECOFF] Ignore /pdb option.

llvm-svn: 191269
This commit is contained in:
Rui Ueyama 2013-09-24 03:37:51 +00:00
parent 5ee413eda8
commit c583d17a57
2 changed files with 3 additions and 3 deletions

View File

@ -71,10 +71,10 @@ def DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>;
class Q<string name> : Joined<["/", "-", "-?"], name#":">;
def nologo : F<"nologo">;
def errorreport : Q<"errorreport">;
def incremental : F<"incremental">;
def no_incremental : F<"incremental:no">;
def pdb : Q<"pdb">;
def errorreport : Q<"errorreport">;
def delay : Q<"delay">;
def delayload : Q<"delayload">;

View File

@ -364,7 +364,7 @@ TEST_F(WinLinkParserTest, Ignore) {
// compatibility with link.exe.
EXPECT_FALSE(parse("link.exe", "/nologo", "/errorreport:prompt",
"/incremental", "/incremental:no", "/delay:unload",
"/delayload:user32", "a.obj", nullptr));
"/delayload:user32", "/pdb:foo", "a.obj", nullptr));
EXPECT_EQ("", errorMessage());
EXPECT_EQ(1, inputFileCount());
EXPECT_EQ("a.obj", inputFile(0));