[PATCH] D47591: Fix rpath-link handling

Taiju Tsuiki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 08:01:05 PDT 2018


tzik created this revision.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.

After r333596, rpath-link no longer consumes the following argument, and
the path argument left by it confuses LLD.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47591

Files:
  ELF/Options.td


Index: ELF/Options.td
===================================================================
--- ELF/Options.td
+++ ELF/Options.td
@@ -462,7 +462,7 @@
 def no_keep_memory: F<"no-keep-memory">;
 def no_mmap_output_file: F<"no-mmap-output-file">;
 def no_warn_mismatch: F<"no-warn-mismatch">;
-def rpath_link: J<"rpath-link">;
+def rpath_link: Separate<["--", "-"], "rpath-link">;
 def rpath_link_eq: J<"rpath-link=">;
 def sort_common: F<"sort-common">;
 def stats: F<"stats">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47591.149296.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180531/02783879/attachment.bin>


More information about the llvm-commits mailing list