[compiler-rt] [llvm] [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 llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 22:39:50 PDT 2023


================
@@ -309,7 +323,8 @@ lprofWriteDataImpl(ProfDataWriter *Writer, const __llvm_profile_data *DataBegin,
     return -1;
 
   /* Write the binary id lengths and data. */
-  if (__llvm_write_binary_ids(Writer) == -1)
+  int binary_id_size = __llvm_write_binary_ids(Writer);
----------------
minglotus-6 wrote:

thanks for the catch! This is not needed and unintended change. Undo it.

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


More information about the llvm-commits mailing list