[llvm] [SampleFDO][TypeProf]Support vtable type profiling for ext-binary and text format (PR #148002)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 10:54:51 PDT 2025


================
@@ -727,6 +735,10 @@ class LLVM_ABI SampleProfileReaderBinary : public SampleProfileReader {
   /// to the start of MD5SampleContextTable.
   const uint64_t *MD5SampleContextStart = nullptr;
 
+  /// If true, the profile has vtable profiles and reader should decode them
+  /// to parse profiles correctly.
+  bool ReadVTableProf = false;
----------------
mingmingl-llvm wrote:

done.

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


More information about the llvm-commits mailing list