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

Mingming Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 10:09:55 PDT 2023


================
@@ -43,7 +45,8 @@ int main(int argc, const char *argv[]) {
   uint64_t bufsize = __llvm_profile_get_size_for_buffer_internal(
       __llvm_profile_begin_data(), __llvm_profile_end_data(),
       __llvm_profile_begin_counters(), __llvm_profile_end_counters(),
-      __llvm_profile_begin_names(), __llvm_profile_end_names());
+      __llvm_profile_begin_names(), __llvm_profile_end_names(), NULL, NULL,
----------------
minglotus-6 wrote:

Undo the change in this test file (since the previous change of function signature of `__llvm_profile_get_size_for_buffer_internal` is un-done here)

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


More information about the cfe-commits mailing list