[PATCH] D33647: [ELF] - Linkerscript: implement NOLOAD section type.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 09:07:02 PDT 2017
ruiu 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();
----------------
Why can't you do `peek() != "("`?
https://reviews.llvm.org/D33647
More information about the llvm-commits
mailing list