[PATCH] D26935: [ELF] Allow `ASSERT` in output section descriptions

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 08:55:33 PST 2016


ruiu accepted this revision.
ruiu added a reviewer: ruiu.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks!



================
Comment at: test/ELF/linkerscript/assert.s:33-38
+# RUN: echo "SECTIONS {                         \
+# RUN:   .foo : {                               \
+# RUN:     *(.foo)                              \
+# RUN:     ASSERT(SIZEOF(.foo) == 8, \"true\"); \
+# RUN:   }                                      \
+# RUN: }" > %t6.script
----------------
Can you write this in one line? Look at other tests in this file.


https://reviews.llvm.org/D26935





More information about the llvm-commits mailing list