Index: lld/trunk/wasm/Config.h =================================================================== --- lld/trunk/wasm/Config.h +++ lld/trunk/wasm/Config.h @@ -36,7 +36,6 @@ uint32_t ZStackSize; llvm::StringRef Entry; llvm::StringRef OutputFile; - llvm::StringRef Sysroot; llvm::StringSet<> AllowUndefinedSymbols; std::vector SearchPaths; Index: lld/trunk/wasm/Driver.cpp =================================================================== --- lld/trunk/wasm/Driver.cpp +++ lld/trunk/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: lld/trunk/wasm/Options.td =================================================================== --- lld/trunk/wasm/Options.td +++ lld/trunk/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<"