[lld] r320394 - Sort.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 09:52:43 PST 2017
Author: ruiu
Date: Mon Dec 11 09:52:43 2017
New Revision: 320394
URL: http://llvm.org/viewvc/llvm-project?rev=320394&view=rev
Log:
Sort.
Modified:
lld/trunk/wasm/Driver.cpp
Modified: lld/trunk/wasm/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/Driver.cpp?rev=320394&r1=320393&r2=320394&view=diff
==============================================================================
--- lld/trunk/wasm/Driver.cpp (original)
+++ lld/trunk/wasm/Driver.cpp Mon Dec 11 09:52:43 2017
@@ -239,10 +239,10 @@ void LinkerDriver::link(ArrayRef<const c
Config->CheckSignatures =
Args.hasFlag(OPT_check_signatures, OPT_no_check_signatures, false);
Config->EmitRelocs = Args.hasArg(OPT_emit_relocs);
- Config->Relocatable = Args.hasArg(OPT_relocatable);
- Config->Entry = getEntry(Args, Config->Relocatable ? "" : "_start");
+ Config->Entry = getEntry(Args, Args.hasArg(OPT_relocatable) ? "" : "_start");
Config->ImportMemory = Args.hasArg(OPT_import_memory);
Config->OutputFile = Args.getLastArgValue(OPT_o);
+ Config->Relocatable = Args.hasArg(OPT_relocatable);
Config->SearchPaths = args::getStrings(Args, OPT_L);
Config->StripAll = Args.hasArg(OPT_strip_all);
Config->StripDebug = Args.hasArg(OPT_strip_debug);
More information about the llvm-commits
mailing list