[llvm] [memprof] Add YAML-based deserialization for MemProf profile (PR #117829)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 22:24:15 PST 2024


================
@@ -40,6 +40,71 @@
 #include "llvm/Support/Path.h"
 
 #define DEBUG_TYPE "memprof"
+
+namespace llvm {
+namespace yaml {
+template <> struct MappingTraits<memprof::Frame> {
+  static void mapping(IO &Io, memprof::Frame &F) {
----------------
kazutakahirata wrote:

Fixed in the latest iteration.

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


More information about the llvm-commits mailing list