[PATCH] D33647: [ELF] - Linkerscript: implement NOLOAD section type.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 08:33:14 PDT 2017


grimar added inline comments.


================
Comment at: ELF/ScriptParser.cpp:574
+    // https://sourceware.org/binutils/docs/ld/Output-Section-Address.html
+    if (!peek().startswith("("))
+      Cmd->AddrExpr = readExpr();
----------------
ruiu wrote:
> Why can't you do `peek() != "("`?
My mistype/mistake =\ Sure we can do that.


https://reviews.llvm.org/D33647





More information about the llvm-commits mailing list