aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2024-06-27 23:26:19 -0700
committerMircea Trofin <mtrofin@google.com>2024-06-27 23:27:14 -0700
commit519e0bb094bd9444b64ac62f2e8192543fdb94b9 (patch)
tree73764c07ed60d9e53a0dbcf8f71cbfa5e0ec14a3
parentd58ded4e5b9625cba23a5865822100bfd998972b (diff)
downloadllvm-519e0bb094bd9444b64ac62f2e8192543fdb94b9.zip
llvm-519e0bb094bd9444b64ac62f2e8192543fdb94b9.tar.gz
llvm-519e0bb094bd9444b64ac62f2e8192543fdb94b9.tar.bz2
[ctx_prof] Type the stream parameter of PGOCtxProfWriter to match BitstreamWriter's
-rw-r--r--llvm/include/llvm/ProfileData/PGOCtxProfWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h b/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
index f91a695..ecee7a2 100644
--- a/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
+++ b/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
@@ -67,7 +67,7 @@ class PGOCtxProfileWriter final {
const ctx_profile::ContextNode &Node);
public:
- PGOCtxProfileWriter(raw_fd_stream &Out,
+ PGOCtxProfileWriter(raw_ostream &Out,
std::optional<unsigned> VersionOverride = std::nullopt)
: Writer(Out, 0) {
Writer.EnterSubblock(PGOCtxProfileBlockIDs::ProfileMetadataBlockID,