Skip to content
Permalink
Browse files

Ignore /natvis option for now.

/natvis is a new command line option introduced by MSVC 2017.
We eventually have to support it, but for now, let's ignore it so that
we can at least link stuff instead of printing out an error.

Patch by Michael Rickert.

llvm-svn: 312966
  • Loading branch information...
rui314 committed Sep 11, 2017
1 parent c6c9b8f commit 9d9bdabee32755b1f10e0606771aab986eceb7e3
Showing with 2 additions and 0 deletions.
  1. +1 −0 lld/COFF/Driver.cpp
  2. +1 −0 lld/COFF/Options.td
@@ -241,6 +241,7 @@ void LinkerDriver::parseDirectives(StringRef S) {
case OPT_editandcontinue:
case OPT_fastfail:
case OPT_guardsym:
case OPT_natvis:
case OPT_throwingnew:
break;
default:
@@ -135,6 +135,7 @@ def errorreport : QF<"errorreport">;
def idlout : QF<"idlout">;
def ignore : QF<"ignore">;
def maxilksize : QF<"maxilksize">;
def natvis : QF<"natvis">;
def pdbaltpath : QF<"pdbaltpath">;
def tlbid : QF<"tlbid">;
def tlbout : QF<"tlbout">;

0 comments on commit 9d9bdab

Please sign in to comment.
You can’t perform that action at this time.