[compiler-rt] [llvm] [TypeProf][InstrPGO] Introduce raw and instr profile format change for type profiling. (PR #81691)

David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 09:37:15 PST 2024


================
@@ -107,6 +107,26 @@ static uintptr_t signextIfWin64(void *V) {
 #endif
 }
 
+static uint64_t
+getDistanceFromCounterToValueProf(const __llvm_profile_header *const Header) {
+  // Skip names section, vtable profile data section and vtable names section
----------------
david-xl wrote:

Move comments outside function body.

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


More information about the llvm-commits mailing list