[llvm] [memprof] Add YAML read/write support to llvm-profdata (PR #118915)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 11:55:07 PST 2024


================
@@ -213,6 +213,21 @@ class RawMemProfReader final : public MemProfReader {
 class YAMLMemProfReader final : public MemProfReader {
 public:
   YAMLMemProfReader() = default;
+
+  // Return true if the \p DataBuffer starts with magic bytes indicating it is
+  // a raw binary memprof profile.
----------------
kazutakahirata wrote:

Fixed.

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


More information about the llvm-commits mailing list