[PATCH] D40771: [WebAssembly] Remove used --sysroot option

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 10:14:24 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD319805: [WebAssembly] Remove used --sysroot option (authored by sbc).

Changed prior to commit:
  https://reviews.llvm.org/D40771?vs=125280&id=125565#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D40771

Files:
  wasm/Config.h
  wasm/Driver.cpp
  wasm/Options.td


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);
   if (Config->Relocatable)
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/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.125565.patch
Type: text/x-patch
Size: 1261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/0c5a6bb6/attachment.bin>


More information about the llvm-commits mailing list