================
@@ -78,6 +78,46 @@ GlobalValue::getGUIDAssumingExternalLinkage(StringRef GlobalIdentifier) {
return MD5Hash(GlobalIdentifier);
}
+void GlobalValue::assignGUID() {
----------------
orodley wrote:
Yeah, I agree, this seems like the best option. Done.
https://github.com/llvm/llvm-project/pull/133682