[lld] r312966 - Ignore /natvis option for now.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 15:24:13 PDT 2017
Author: ruiu
Date: Mon Sep 11 15:24:13 2017
New Revision: 312966
URL: http://llvm.org/viewvc/llvm-project?rev=312966&view=rev
Log:
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.
Modified:
lld/trunk/COFF/Driver.cpp
lld/trunk/COFF/Options.td
Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=312966&r1=312965&r2=312966&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Mon Sep 11 15:24:13 2017
@@ -241,6 +241,7 @@ void LinkerDriver::parseDirectives(Strin
case OPT_editandcontinue:
case OPT_fastfail:
case OPT_guardsym:
+ case OPT_natvis:
case OPT_throwingnew:
break;
default:
Modified: lld/trunk/COFF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Options.td?rev=312966&r1=312965&r2=312966&view=diff
==============================================================================
--- lld/trunk/COFF/Options.td (original)
+++ lld/trunk/COFF/Options.td Mon Sep 11 15:24:13 2017
@@ -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">;
More information about the llvm-commits
mailing list