[PATCH] D35945: [ELF] - Linkerscript: better disgnostic for INPUT/GROUP commands.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 2 20:33:12 PDT 2017
ruiu added inline comments.
================
Comment at: ELF/ScriptParser.cpp:285
Config->AsNeeded = true;
- while (!Error && !consume(")"))
- addFile(unquote(next()));
+ while (!Error && !consume(")") && !ErrorCount) {
+ StringRef File = unquote(next());
----------------
I think you can only check ErrorCount. Remove Error.
https://reviews.llvm.org/D35945
More information about the llvm-commits
mailing list