================ @@ -309,9 +323,16 @@ 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); + if (binary_id_size == -1) return -1; + // Might be needed for debugging. Clean up before commit. ---------------- minglotus-6 wrote:
thanks for the catch! done. https://github.com/llvm/llvm-project/pull/66825 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits