[lld/COFF] Ignore /LTCG, /LTCG:, /LTCGOUT:, /ILK: flags

We currently complain "could not open /LTCG: no such file or directory",
which isn't very useful.  We could emit a warning when we see this flag, but
just ignoring it seems fine.

Final missing part of PR38799.

Differential Revision: https://reviews.llvm.org/D108799
This commit is contained in:
Nico Weber 2021-08-26 22:03:26 -04:00
parent 66dc44f703
commit 34ac7a7ac1
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,7 @@ def summary : F<"summary">;
//==============================================================================
def ignoreidl : F<"ignoreidl">;
def ltcg : F<"ltcg">;
def nologo : F<"nologo">;
def throwingnew : F<"throwingnew">;
def editandcontinue : F<"editandcontinue">;
@ -287,6 +288,9 @@ def fastfail : F<"fastfail">;
def delay : P_priv<"delay">;
def errorreport : P_priv<"errorreport">;
def idlout : P_priv<"idlout">;
def ilk : P_priv<"ilk">;
def ltcg_opt : P_priv<"ltcg">;
def ltcgout : P_priv<"ltcgout">;
def maxilksize : P_priv<"maxilksize">;
def tlbid : P_priv<"tlbid">;
def tlbout : P_priv<"tlbout">;