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

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


Author: rafael
Date: Fri Apr 29 18:28:36 2016
New Revision: 268134

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

Modified:
    lld/trunk/test/ELF/progname.s

Modified: lld/trunk/test/ELF/progname.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/progname.s?rev=268134&r1=268133&r2=268134&view=diff
==============================================================================
--- lld/trunk/test/ELF/progname.s (original)
+++ lld/trunk/test/ELF/progname.s Fri Apr 29 18:28:36 2016
@@ -5,6 +5,22 @@
 // RUN: ld.lld -o %t %t.o %t2.so
 // RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
 
+
+// Inputs/progname-ver.so consists of the assembly file
+//
+// .global bar
+// bar:
+// .quad __progname
+//
+// linked into a library  with the version script
+//
+// VER_1 {
+//  global:
+//  bar;
+// };
+//
+// We should create it with lld itself once we it supports that.
+
 // RUN: ld.lld -o %t %t.o %p/Inputs/progname-ver.so
 // RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
 




More information about the llvm-commits mailing list