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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 16:41:56 PDT 2016


Thanks!

On Fri, Apr 29, 2016 at 4:35 PM, Rafael Espindola via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> 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.
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/6a7f353a/attachment.html>


More information about the llvm-commits mailing list