Skip to content

Commit

Permalink
ShadowGCLowering: Drop typed pointer handling
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenm committed Dec 19, 2023
1 parent 620280c commit e8d98fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/ShadowStackGCLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Constant *ShadowStackGCLowering::GetFrameMap(Function &F) {
Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1));
if (!C->isNullValue())
NumMeta = I + 1;
Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr));
Metadata.push_back(C);
}
Metadata.resize(NumMeta);

Expand Down

0 comments on commit e8d98fa

Please sign in to comment.