D35945 introduces change when there is useless to check Error flag
in few places, but ErrorCount must be checked instead.
But then we probably can just check ErrorCount always. That should simplify
things. Patch do that.
Paths
| Differential D36266
[ELF] - Remove ScriptLexer::Error field and check ErrorCount instead. ClosedPublic Authored by grimar on Aug 3 2017, 5:14 AM.
Details Summary D35945 introduces change when there is useless to check Error flag But then we probably can just check ErrorCount always. That should simplify
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 4 2017, 2:23 AM Closed by commit rL310046: [ELF] - Remove ScriptLexer::Error field and check ErrorCount instead. (authored by grimar). · Explain WhyAug 4 2017, 3:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 109698 lld/trunk/ELF/ScriptLexer.h
lld/trunk/ELF/ScriptLexer.cpp
lld/trunk/ELF/ScriptParser.cpp
lld/trunk/test/ELF/version-script-err.s
|