================
@@ -950,6 +950,9 @@ void CodeGenModule::Release() {
UsedArray.push_back(llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(
GetAddrOfGlobal(GD), Int8PtrTy));
}
+ // Sort decls by name to always emit them in deterministic order.
----------------
Artem-B wrote:
Thanks for the hint. `MapVector` sounds like the right tool for the job.
https://github.com/llvm/llvm-project/pull/102661
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits