[llvm] Store GUIDs in metadata (PR #133682)

Owen Rodley via llvm-commits llvm-commits at lists.llvm.org
Sun May 11 21:04:06 PDT 2025


================
@@ -78,6 +78,46 @@ GlobalValue::getGUIDAssumingExternalLinkage(StringRef GlobalIdentifier) {
   return MD5Hash(GlobalIdentifier);
 }
 
+void GlobalValue::assignGUID() {
----------------
orodley wrote:

`getMetadata` is protected, so it does need to be on `GlobalValue`

https://github.com/llvm/llvm-project/pull/133682


More information about the llvm-commits mailing list