From 5012858e2659b7254c35b6e57fd94d84aac51b76 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 25 May 2017 19:49:54 +0000 Subject: [PATCH] Accept not only --reproduce but also --reproduce=. llvm-svn: 303905 --- lld/ELF/Options.td | 1 + lld/test/ELF/reproduce.s | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 65a0e72d2320..335c7ade6db2 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -313,6 +313,7 @@ def alias_o_output2 : Separate<["--"], "output">, Alias; def alias_pie_pic_executable: F<"pic-executable">, Alias; def alias_print_map_M: Flag<["-"], "M">, Alias; def alias_relocatable_r: Flag<["-"], "r">, Alias; +def alias_reproduce_eq: J<"reproduce=">, Alias; def alias_retain_symbols_file: S<"retain-symbols-file">, Alias; def alias_rpath_R: JoinedOrSeparate<["-"], "R">, Alias; def alias_rpath_rpath: J<"rpath=">, Alias; diff --git a/lld/test/ELF/reproduce.s b/lld/test/ELF/reproduce.s index 94823d6d377f..0a93be08d040 100644 --- a/lld/test/ELF/reproduce.s +++ b/lld/test/ELF/reproduce.s @@ -63,7 +63,7 @@ ## Check that directory path is stripped from -o # 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