[lld] r246901 - [elf2] Correctly handle sections with an alignment of 0. Spec says to treat it as an alignment of 1.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 17:48:09 PDT 2015
On Fri, Sep 4, 2015 at 5:25 PM, Michael J. Spencer via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: mspencer
> Date: Fri Sep 4 19:25:33 2015
> New Revision: 246901
> URL: http://llvm.org/viewvc/llvm-project?rev=246901&view=rev
> [elf2] Correctly handle sections with an alignment of 0. Spec says to treat it as an alignment of 1.
> Added: lld/trunk/test/elf2/section-align-0.test
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/section-align-0.test?rev=246901&view=auto
> --- lld/trunk/test/elf2/section-align-0.test (added)
> +++ lld/trunk/test/elf2/section-align-0.test Fri Sep 4 19:25:33 2015
> @@ -0,0 +1,19 @@
> +# RUN: yaml2obj -format elf %s -o %t
> +# RUN: lld -flavor gnu2 %t -o %tout
Is there any reason why you can't use assembler for testing?
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits