Handle empty dynamic lists.

llvm-svn: 312820
This commit is contained in:
Rafael Espindola
2017-09-08 18:53:43 +00:00
parent 2f4df7ec41
commit 8016bdfd93
4 changed files with 21 additions and 1 deletions

View File

@@ -180,6 +180,7 @@ static ExprValue bitOr(ExprValue A, ExprValue B) {
}
void ScriptParser::readDynamicList() {
Config->HasDynamicList = true;
expect("{");
std::vector<SymbolVersion> Locals;
std::vector<SymbolVersion> Globals;