update embedded LLD to 8.0.0rc2

This commit is contained in:
Andrew Kelley
2019-02-07 17:07:18 -05:00
parent 91baa574a5
commit 3e08b3a4f8
710 changed files with 20066 additions and 5693 deletions

View File

@@ -244,6 +244,15 @@ StringRef ScriptLexer::peek() {
return Tok;
}
StringRef ScriptLexer::peek2() {
skip();
StringRef Tok = next();
if (errorCount())
return "";
Pos = Pos - 2;
return Tok;
}
bool ScriptLexer::consume(StringRef Tok) {
if (peek() == Tok) {
skip();