forked from OSchip/llvm-project
[PECOFF] Recognize but ignore /implib and /safeseh for now.
So that the LLD won't print error message saying that it couldn't find /implib or /safeseh files. llvm-svn: 195276
This commit is contained in:
parent
07e2764ce7
commit
f8b41867c8
|
@ -98,6 +98,7 @@ def delay : QF<"delay">;
|
|||
def delayload : QF<"delayload">;
|
||||
def errorreport : QF<"errorreport">;
|
||||
def idlout : QF<"idlout">;
|
||||
def implib : QF<"implib">;
|
||||
def pdb : QF<"pdb">;
|
||||
def pdbaltpath : QF<"pdbaltpath">;
|
||||
def tlbid : QF<"tlbid">;
|
||||
|
@ -105,3 +106,4 @@ def tlbout : QF<"tlbout">;
|
|||
def verbose_all : QF<"verbose">;
|
||||
|
||||
defm wx : QB<"wx">;
|
||||
defm safeseh : QB<"safeseh">;
|
||||
|
|
|
@ -515,7 +515,8 @@ TEST_F(WinLinkParserTest, Ignore) {
|
|||
"/disallowlib:foo", "/delayload:user32", "/pdb:foo",
|
||||
"/pdbaltpath:bar", "/verbose", "/verbose:icf", "/wx",
|
||||
"/wx:no", "/tlbid:1", "/tlbout:foo", "/idlout:foo",
|
||||
"/ignoreidl", "a.obj", nullptr));
|
||||
"/ignoreidl", "/implib:foo", "/safeseh", "/safeseh:no",
|
||||
"a.obj", nullptr));
|
||||
EXPECT_EQ("", errorMessage());
|
||||
EXPECT_EQ(1, inputFileCount());
|
||||
EXPECT_EQ("a.obj", inputFile(0));
|
||||
|
|
Loading…
Reference in New Issue