mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[TBDGen] Return a vector of symbols instead of set
A couple of clients are iterating over the result, so switch to a vector to ensure we don't accidentally introduce any non-determinism.
This commit is contained in:
@@ -1074,7 +1074,7 @@ static bool writeLdAddCFileIfNeeded(CompilerInstance &Instance) {
|
||||
llvm::raw_svector_ostream NameOS(NameBuffer);
|
||||
NameOS << "ldAdd_" << Idx;
|
||||
OS << "extern const char " << NameOS.str() << " __asm(\"" <<
|
||||
changeToLdAdd(S.getKey()) << "\");\n";
|
||||
changeToLdAdd(S) << "\");\n";
|
||||
OS << "const char " << NameOS.str() << " = 0;\n";
|
||||
++ Idx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user