[lld] r268136 - Document how to recreate a binary.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 16:35:49 PDT 2016


Author: rafael
Date: Fri Apr 29 18:35:49 2016
New Revision: 268136

URL: http://llvm.org/viewvc/llvm-project?rev=268136&view=rev
Log:
Document how to recreate a binary.

Modified:
    lld/trunk/test/ELF/version-undef-sym.s

Modified: lld/trunk/test/ELF/version-undef-sym.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-undef-sym.s?rev=268136&r1=268135&r2=268136&view=diff
==============================================================================
--- lld/trunk/test/ELF/version-undef-sym.s (original)
+++ lld/trunk/test/ELF/version-undef-sym.s Fri Apr 29 18:35:49 2016
@@ -3,6 +3,27 @@
 // RUN: llvm-readobj --dyn-symbols %p/Inputs/version-undef-sym.so | FileCheck %s
 
 
+// Inputs/version-undef-sym.so consists of the assembly file
+//
+//         .global bar
+// bar:
+//        .weak abc1
+//        .weak abc2
+//        .weak abc3
+//        .weak abc4
+//        .weak abc5
+//
+// linked into a shared library with the version script
+//
+// VER_1 {
+// global:
+//   bar;
+// };
+//
+// Assuming we can reproduce the desired property (a few undefined symbols
+// before bar) we should create it with lld itself once it supports that.
+
+
 // Show that the input .so has undefined symbols before bar. That is what would
 // get our version parsing out of sync.
 




More information about the llvm-commits mailing list