Add an overload for InstrProfWriter::write so that users can emit the
buffer to a string. Also use this new overload for existing unit test
usecases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
The change looks fine to me but is this patch missing the referenced unit test changes?:
Also use this new overload for existing unit test usecases.
Comment Actions
Sorry, my wording wasn't clear. By changing L658 in InstrProfWriter.cpp to use the new overload (in writeBuffer), all the unit tests now implicitly call the new overload.
Comment Actions
Hmm, I amended the commit message in my branch but after landing it I don't see it in git log. Let me try to fix up.
Comment Actions
Fixing up now (after other commits have landed on top of this one) is too risky without a revert and restore. Let me know if you feel strongly about updating the message.