[all-commits] [llvm/llvm-project] 4aabd1: [instrprof] Add an overload to accept raw_string_o...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Wed Jun 28 09:37:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4aabd19c06d353c319d8bbc598305cd254b6b8b8
https://github.com/llvm/llvm-project/commit/4aabd19c06d353c319d8bbc598305cd254b6b8b8
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfWriter.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[instrprof] Add an overload to accept raw_string_ostream.
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.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D153904
More information about the All-commits
mailing list