COFF: Ignore /GUARDSYM option.

The option is added in MSVC 2015, and there's no documentation about
what the option is. This patch is to ignore the option for now, so that
at least LLD is usable with MSVC 2015.

llvm-svn: 246780
This commit is contained in:
Rui Ueyama 2015-09-03 16:20:47 +00:00
parent 44876c535f
commit 31e66e32b4
2 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,7 @@ void LinkerDriver::parseDirectives(StringRef S) {
Config->NoDefaultLibs.insert(doFindLib(Arg->getValue()));
break;
case OPT_editandcontinue:
case OPT_guardsym:
case OPT_throwingnew:
break;
default:

View File

@ -117,5 +117,6 @@ def pdbaltpath : QF<"pdbaltpath">;
def tlbid : QF<"tlbid">;
def tlbout : QF<"tlbout">;
def verbose_all : QF<"verbose">;
def guardsym : QF<"guardsym">;
defm wx : QB<"wx">;