[PECOFF] Ignore /maxilkfile option.
.ilk file is a file for incremental linking. We don't create nor use that file. /MAXILKFILE is an undocumented option to specify the maximum size of the .ilk file, IIUC. We should just ignore the option. llvm-svn: 222777
This commit is contained in:
parent
807eb55b08
commit
24a7f7eed8
|
|
@ -111,6 +111,7 @@ def delay : QF<"delay">;
|
|||
def errorreport : QF<"errorreport">;
|
||||
def idlout : QF<"idlout">;
|
||||
def ignore : QF<"ignore">;
|
||||
def maxilksize : QF<"maxilksize">;
|
||||
def pdbaltpath : QF<"pdbaltpath">;
|
||||
def tlbid : QF<"tlbid">;
|
||||
def tlbout : QF<"tlbout">;
|
||||
|
|
|
|||
|
|
@ -702,7 +702,8 @@ TEST_F(WinLinkParserTest, Ignore) {
|
|||
"/verbose:icf", "/wx", "/wx:no", "/tlbid:1",
|
||||
"/tlbout:foo", "/idlout:foo", "/ignore:4000",
|
||||
"/ignoreidl", "/implib:foo", "/safeseh",
|
||||
"/safeseh:no", "/functionpadmin", "a.obj", nullptr));
|
||||
"/safeseh:no", "/functionpadmin", "/maxilksize:1024",
|
||||
"a.obj", nullptr));
|
||||
EXPECT_EQ("", errorMessage());
|
||||
EXPECT_EQ(3, inputFileCount());
|
||||
EXPECT_EQ("a.obj", inputFile(0));
|
||||
|
|
|
|||
Loading…
Reference in New Issue