Skip to content

Commit 914bb45

Browse files
mtrofinronlieb
authored andcommitted
[ctx_prof] Remove Buffer field in PGOCtxProfWriter
Not needed anymore after PR llvm#92983, and moreover, creating the same issue c49bc1a fixed in `BitcodeWriter.cpp`. Change-Id: I8e2ecce912725d3c8c800fc7746bcb524a2da121
1 parent 5a4541d commit 914bb45

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

llvm/include/llvm/ProfileData/PGOCtxProfWriter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ enum PGOCtxProfileBlockIDs {
6060
/// example, value profiling would produce a new record with a new record ID,
6161
/// containing the profiled values (much like the counters)
6262
class PGOCtxProfileWriter final {
63-
SmallVector<char, 1 << 20> Buff;
6463
BitstreamWriter Writer;
6564

6665
void writeCounters(const ctx_profile::ContextNode &Node);

revert_patches.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ contact: RonL
8585

8686
---
8787
Reverts:
88-
7cfffe74 Unittests and usability for BitstreamWriter incremental flushing (#92983)
89-
993d2383e68b [ctx_prof] Remove `Buffer` field in PGOCtxProfWriter
9088
1488fb415336 [PAC][AArch64] Lower ptrauth constants in code (#96879)
9189
cc7308a1563e [ctx_prof] Make the profile output analyzable by llvm-bcanalyzer (#99563)
9290
c99bd3ce [ctx_prof] Extend `WorkloadImportsManager` to use the contextual profile (#98682)

0 commit comments

Comments
 (0)