[lld] r195105 - [PECOFF] Ignore /tlbid, /tlbout, /idlout and /ignoreigl for now.
Rui Ueyama
ruiu at google.com
Mon Nov 18 21:55:08 PST 2013
Author: ruiu
Date: Mon Nov 18 23:55:08 2013
New Revision: 195105
URL: http://llvm.org/viewvc/llvm-project?rev=195105&view=rev
Log:
[PECOFF] Ignore /tlbid, /tlbout, /idlout and /ignoreigl for now.
Modified:
lld/trunk/lib/Driver/WinLinkOptions.td
lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp
Modified: lld/trunk/lib/Driver/WinLinkOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkOptions.td?rev=195105&r1=195104&r2=195105&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkOptions.td (original)
+++ lld/trunk/lib/Driver/WinLinkOptions.td Mon Nov 18 23:55:08 2013
@@ -77,9 +77,9 @@ def help_q : Flag<["/?", "-?"], "">, Ali
def DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>;
-//
+//==============================================================================
// The flags below do nothing. They are defined only for link.exe compatibility.
-//
+//==============================================================================
class QF<string name> : Joined<["/", "-", "-?"], name#":">;
@@ -88,6 +88,7 @@ multiclass QB<string name> {
def _no : F<name#":no">;
}
+def ignoreidl : F<"ignoreidl">;
def incremental : F<"incremental">;
def no_incremental : F<"incremental:no">;
def nologo : F<"nologo">;
@@ -96,8 +97,11 @@ def verbose : F<"verbose">;
def delay : QF<"delay">;
def delayload : QF<"delayload">;
def errorreport : QF<"errorreport">;
+def idlout : QF<"idlout">;
def pdb : QF<"pdb">;
def pdbaltpath : QF<"pdbaltpath">;
+def tlbid : QF<"tlbid">;
+def tlbout : QF<"tlbout">;
def verbose_all : QF<"verbose">;
defm wx : QB<"wx">;
Modified: lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp?rev=195105&r1=195104&r2=195105&view=diff
==============================================================================
--- lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp (original)
+++ lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp Mon Nov 18 23:55:08 2013
@@ -514,7 +514,8 @@ TEST_F(WinLinkParserTest, Ignore) {
"/incremental", "/incremental:no", "/delay:unload",
"/disallowlib:foo", "/delayload:user32", "/pdb:foo",
"/pdbaltpath:bar", "/verbose", "/verbose:icf", "/wx",
- "/wx:no", "a.obj", nullptr));
+ "/wx:no", "/tlbid:1", "/tlbout:foo", "/idlout:foo",
+ "/ignoreidl", "a.obj", nullptr));
EXPECT_EQ("", errorMessage());
EXPECT_EQ(1, inputFileCount());
EXPECT_EQ("a.obj", inputFile(0));
More information about the llvm-commits
mailing list