[compiler-rt] [llvm] Reland "[TypeProf][InstrPGO] Introduce raw and instr profile format change for type profiling." (PR #82711)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 16:43:25 PST 2024
================
@@ -59,9 +61,17 @@ const __llvm_profile_data *__llvm_profile_begin_data(void) {
}
const __llvm_profile_data *__llvm_profile_end_data(void) { return &DataEnd; }
+// TODO: Implement the linker magic on Windows.
+const VTableProfData *__llvm_profile_begin_vtables(void) { return NULL; }
+
+const VTableProfData *__llvm_profile_end_vtables(void) { return NULL; }
+
const char *__llvm_profile_begin_names(void) { return &NamesStart + 1; }
const char *__llvm_profile_end_names(void) { return &NamesEnd; }
+const char *__llvm_profile_begin_vtabnames(void) { return NULL; }
----------------
minglotus-6 wrote:
https://gcc.godbolt.org/z/1Mv3qdjvK as a compile test.
https://github.com/llvm/llvm-project/pull/82711
More information about the llvm-commits
mailing list