mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
Revert r311468: If --dynamic-list is given, only those symbols are preemptible
This reverts commit r311468 because it broke some CFI bots. llvm-svn: 311497
This commit is contained in:
@@ -175,22 +175,9 @@ static ExprValue bitOr(ExprValue A, ExprValue B) {
|
||||
|
||||
void ScriptParser::readDynamicList() {
|
||||
expect("{");
|
||||
std::vector<SymbolVersion> Locals;
|
||||
std::vector<SymbolVersion> Globals;
|
||||
std::tie(Locals, Globals) = readSymbols();
|
||||
expect(";");
|
||||
|
||||
if (!atEOF()) {
|
||||
readAnonymousDeclaration();
|
||||
if (!atEOF())
|
||||
setError("EOF expected, but got " + next());
|
||||
return;
|
||||
}
|
||||
if (!Locals.empty()) {
|
||||
setError("\"local:\" scope not supported in --dynamic-list");
|
||||
return;
|
||||
}
|
||||
|
||||
for (SymbolVersion V : Globals)
|
||||
Config->DynamicList.push_back(V);
|
||||
}
|
||||
|
||||
void ScriptParser::readVersionScript() {
|
||||
|
||||
Reference in New Issue
Block a user