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

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 12:54:43 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;
----------------
snehasish wrote:

Can we move this up to L590 where all the option vars are?

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


More information about the llvm-commits mailing list