diff options
author | Peter Collingbourne <pcc@google.com> | 2025-09-10 19:27:15 -0700 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2025-09-10 19:27:15 -0700 |
commit | e3a705ade26d1e70798588be959d97fc7fc5d3d1 (patch) | |
tree | 39c3577f9219fb11ab76de2955d98098c8a98bf4 | |
parent | e223f4b05a01c4fbe85c8ae9aed0924c062dc3df (diff) | |
download | llvm-users/pcc/spr/main.add-pointer-field-protection-feature.zip llvm-users/pcc/spr/main.add-pointer-field-protection-feature.tar.gz llvm-users/pcc/spr/main.add-pointer-field-protection-feature.tar.bz2 |
[𝘀𝗽𝗿] changes introduced through rebaseusers/pcc/spr/main.add-pointer-field-protection-feature
Created using spr 1.3.6-beta.1
[skip ci]
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index a7fce4f..8c2f497 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1609,7 +1609,7 @@ Expected<Value *> BitcodeReader::materializeValue(unsigned StartValID, if (!Disc) return error("ptrauth disc operand must be ConstantInt"); - auto *DeactivationSymbol = + Constant *DeactivationSymbol = ConstOps.size() > 4 ? ConstOps[4] : ConstantPointerNull::get(cast<PointerType>( ConstOps[3]->getType())); |