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

Commit 27b9c42

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@312966 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 478a7c9 commit 27b9c42

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

COFF/Driver.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ void LinkerDriver::parseDirectives(StringRef S) {
241241
case OPT_editandcontinue:
242242
case OPT_fastfail:
243243
case OPT_guardsym:
244+
case OPT_natvis:
244245
case OPT_throwingnew:
245246
break;
246247
default:

COFF/Options.td

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def errorreport : QF<"errorreport">;
135135
def idlout : QF<"idlout">;
136136
def ignore : QF<"ignore">;
137137
def maxilksize : QF<"maxilksize">;
138+
def natvis : QF<"natvis">;
138139
def pdbaltpath : QF<"pdbaltpath">;
139140
def tlbid : QF<"tlbid">;
140141
def tlbout : QF<"tlbout">;

0 commit comments

Comments
 (0)