[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

David Li via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 16:16:53 PDT 2023


================
@@ -686,9 +708,11 @@ serializeValueProfDataFrom(ValueProfRecordClosure *Closure,
    than WIN32 */
 #define INSTR_PROF_DATA_COMMON __llvm_prf_data
 #define INSTR_PROF_NAME_COMMON __llvm_prf_names
+#define INSTR_PROF_VNAME_COMMON __llvm_prf_vnames
----------------
david-xl wrote:

'v' can also mean 'value profile', so perhaps name it __llvm_prf_ vtabnames to be clear.

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


More information about the cfe-commits mailing list