[PATCH] D30171: [ELF] - Make ASSERT() return Dot instead of evaluated value.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 18:08:44 PST 2017


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

LGTM



================
Comment at: test/ELF/linkerscript/locationcountererr2.s:7
+
+# RUN: echo "SECTIONS { . = 0x20; . = ASSERT(0x10 > 0x1, "foo"); }" > %t2.script
+# RUN: ld.lld %t.o --script %t2.script -o %t -shared
----------------
Please make a test as simple as possible. You can replace `0x10 > 0x1` with `1`.


https://reviews.llvm.org/D30171





More information about the llvm-commits mailing list