forked from OSchip/llvm-project
[PECOFF] Ignore /pdbaltpath option.
/PDBALTPATH:<path> is an option to embed a different path for the PDB file to the binary than the actual PDB file location. Because we don't support PDB file, we'll just ignore the option for now. llvm-svn: 191273
This commit is contained in:
parent
ad54b049ef
commit
0e08d7757b
|
@ -75,6 +75,7 @@ def incremental : F<"incremental">;
|
|||
def no_incremental : F<"incremental:no">;
|
||||
|
||||
def pdb : Q<"pdb">;
|
||||
def pdbaltpath : Q<"pdbaltpath">;
|
||||
def errorreport : Q<"errorreport">;
|
||||
def delay : Q<"delay">;
|
||||
def delayload : Q<"delayload">;
|
||||
|
|
|
@ -364,7 +364,8 @@ TEST_F(WinLinkParserTest, Ignore) {
|
|||
// compatibility with link.exe.
|
||||
EXPECT_FALSE(parse("link.exe", "/nologo", "/errorreport:prompt",
|
||||
"/incremental", "/incremental:no", "/delay:unload",
|
||||
"/delayload:user32", "/pdb:foo", "a.obj", nullptr));
|
||||
"/delayload:user32", "/pdb:foo", "/pdbaltpath:bar",
|
||||
"a.obj", nullptr));
|
||||
EXPECT_EQ("", errorMessage());
|
||||
EXPECT_EQ(1, inputFileCount());
|
||||
EXPECT_EQ("a.obj", inputFile(0));
|
||||
|
|
Loading…
Reference in New Issue