[PATCH] D22915: [ELF] - Linkerscript: implemented SIZEOF(section)

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 09:08:24 PDT 2016


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

LGTM


================
Comment at: ELF/LinkerScript.cpp:950
@@ +949,3 @@
+    expect(")");
+    return [=](uint64_t Dot) { return getSectionSize(Name); };
+  }
----------------
I started to really like the way how we handle expressions using lambdas. It's short, versatile and easy-to-write.


https://reviews.llvm.org/D22915





More information about the llvm-commits mailing list