[PATCH] D40771: [WebAssembly] Remove used --sysroot option
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 2 15:44:55 PST 2017
sbc100 updated this revision to Diff 125280.
sbc100 added a comment.
- remove from .td file
https://reviews.llvm.org/D40771
Files:
wasm/Config.h
wasm/Driver.cpp
wasm/Options.td
Index: wasm/Options.td
===================================================================
--- wasm/Options.td
+++ wasm/Options.td
@@ -52,8 +52,6 @@
def strip_debug: F<"strip-debug">, HelpText<"Strip debugging information">;
-def sysroot: J<"sysroot=">, HelpText<"Set the system root">;
-
def z: JoinedOrSeparate<["-"], "z">, MetaVarName<"<option>">,
HelpText<"Linker option extensions">;
Index: wasm/Driver.cpp
===================================================================
--- wasm/Driver.cpp
+++ wasm/Driver.cpp
@@ -254,7 +254,6 @@
Config->SearchPaths = args::getStrings(Args, OPT_L);
Config->StripAll = Args.hasArg(OPT_strip_all);
Config->StripDebug = Args.hasArg(OPT_strip_debug);
- Config->Sysroot = Args.getLastArgValue(OPT_sysroot);
errorHandler().Verbose = Args.hasArg(OPT_verbose);
ThreadsEnabled = Args.hasFlag(OPT_threads, OPT_no_threads, true);
Index: wasm/Config.h
===================================================================
--- wasm/Config.h
+++ wasm/Config.h
@@ -36,7 +36,6 @@
uint32_t ZStackSize;
llvm::StringRef Entry;
llvm::StringRef OutputFile;
- llvm::StringRef Sysroot;
llvm::StringSet<> AllowUndefinedSymbols;
std::vector<llvm::StringRef> SearchPaths;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40771.125280.patch
Type: text/x-patch
Size: 1235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171202/ca9fd758/attachment.bin>
More information about the llvm-commits
mailing list