<div dir="ltr">Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 4:35 PM, Rafael Espindola via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: rafael<br>
Date: Fri Apr 29 18:35:49 2016<br>
New Revision: 268136<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=268136&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=268136&view=rev</a><br>
Log:<br>
Document how to recreate a binary.<br>
<br>
Modified:<br>
    lld/trunk/test/ELF/version-undef-sym.s<br>
<br>
Modified: lld/trunk/test/ELF/version-undef-sym.s<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-undef-sym.s?rev=268136&r1=268135&r2=268136&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-undef-sym.s?rev=268136&r1=268135&r2=268136&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/test/ELF/version-undef-sym.s (original)<br>
+++ lld/trunk/test/ELF/version-undef-sym.s Fri Apr 29 18:35:49 2016<br>
@@ -3,6 +3,27 @@<br>
 // RUN: llvm-readobj --dyn-symbols %p/Inputs/version-undef-sym.so | FileCheck %s<br>
<br>
<br>
+// Inputs/version-undef-sym.so consists of the assembly file<br>
+//<br>
+//         .global bar<br>
+// bar:<br>
+//        .weak abc1<br>
+//        .weak abc2<br>
+//        .weak abc3<br>
+//        .weak abc4<br>
+//        .weak abc5<br>
+//<br>
+// linked into a shared library with the version script<br>
+//<br>
+// VER_1 {<br>
+// global:<br>
+//   bar;<br>
+// };<br>
+//<br>
+// Assuming we can reproduce the desired property (a few undefined symbols<br>
+// before bar) we should create it with lld itself once it supports that.<br>
+<br>
+<br>
 // Show that the input .so has undefined symbols before bar. That is what would<br>
 // get our version parsing out of sync.<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>