Skip to content

Commit 61adca7

Browse files
authored
[ctxprof] Fix initializer in PGOCtxProfLowering (#131269)
It needs to match the structure of `FunctionData` in compiler-rt, but missed a field in PR #130655.
1 parent 03614b9 commit 61adca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ CtxInstrumentationLowerer::CtxInstrumentationLowerer(Module &M,
124124
});
125125
FunctionDataTy =
126126
StructType::get(M.getContext(), {
127+
PointerTy, /*Next*/
127128
PointerTy, /*FlatCtx*/
128129
SanitizerMutexType, /*Mutex*/
129130
});

0 commit comments

Comments
 (0)