Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Ignore /natvis option for now.
Browse files Browse the repository at this point in the history
/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.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@312966 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rui314 committed Sep 11, 2017
1 parent 478a7c9 commit 27b9c42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions COFF/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions COFF/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -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">;
Expand Down

0 comments on commit 27b9c42

Please sign in to comment.