[llvm] [memprof] Accept a function name in YAML (PR #119453)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 14:13:32 PST 2024


================
@@ -491,11 +492,15 @@ struct MemProfRecord {
   }
 };
 
+// A "typedef" for GUID.  See ScalarTraits<memprof::GUIDHex64> for how a GUID is
+// serialized and deserialized in YAML.
+LLVM_YAML_STRONG_TYPEDEF(uint64_t, GUIDHex64)
----------------
kazutakahirata wrote:

Yes, let me create `MemprofYAML.h` or something in a subsequent patch.

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


More information about the llvm-commits mailing list