[PATCH] D35945: [ELF] - Linkerscript: better diagnostic for INPUT/GROUP commands.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 04:38:00 PDT 2017


ruiu added inline comments.


================
Comment at: ELF/ScriptParser.cpp:312
   expect("(");
-  while (!Error && !consume(")")) {
-    if (consume("AS_NEEDED"))
+  while (!Error && !consume(")") && !ErrorCount) {
+    if (consume("AS_NEEDED")) {
----------------
Ditto


https://reviews.llvm.org/D35945





More information about the llvm-commits mailing list