[lld] r303905 - Accept not only --reproduce <foo> but also --reproduce=<foo>.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 12:49:54 PDT 2017
Author: ruiu
Date: Thu May 25 14:49:54 2017
New Revision: 303905
URL: http://llvm.org/viewvc/llvm-project?rev=303905&view=rev
Log:
Accept not only --reproduce <foo> but also --reproduce=<foo>.
Modified:
lld/trunk/ELF/Options.td
lld/trunk/test/ELF/reproduce.s
Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=303905&r1=303904&r2=303905&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Thu May 25 14:49:54 2017
@@ -313,6 +313,7 @@ def alias_o_output2 : Separate<["--"], "
def alias_pie_pic_executable: F<"pic-executable">, Alias<pie>;
def alias_print_map_M: Flag<["-"], "M">, Alias<print_map>;
def alias_relocatable_r: Flag<["-"], "r">, Alias<relocatable>;
+def alias_reproduce_eq: J<"reproduce=">, Alias<reproduce>;
def alias_retain_symbols_file: S<"retain-symbols-file">, Alias<retain_symbols_file>;
def alias_rpath_R: JoinedOrSeparate<["-"], "R">, Alias<rpath>;
def alias_rpath_rpath: J<"rpath=">, Alias<rpath>;
Modified: lld/trunk/test/ELF/reproduce.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/reproduce.s?rev=303905&r1=303904&r2=303905&view=diff
==============================================================================
--- lld/trunk/test/ELF/reproduce.s (original)
+++ lld/trunk/test/ELF/reproduce.s Thu May 25 14:49:54 2017
@@ -63,7 +63,7 @@
## Check that directory path is stripped from -o <file-path>
# RUN: mkdir -p %t.dir/build3/a/b/c
# RUN: cd %t.dir
-# RUN: ld.lld build1/foo.o -o build3/a/b/c/bar -shared --as-needed --reproduce repro3.tar
+# RUN: ld.lld build1/foo.o -o build3/a/b/c/bar -shared --as-needed --reproduce=repro3.tar
# RUN: tar xf repro3.tar
# RUN: FileCheck %s --check-prefix=RSP3 < repro3/response.txt
# RSP3: -o bar
More information about the llvm-commits
mailing list