[llvm] [IR] Replace of PointerType::get(Type) with opaque version (NFC) (PR #123617)
Mats Jun Larsen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 06:13:59 PST 2025
================
@@ -598,7 +598,7 @@ bool TypeSanitizer::instrumentWithShadowUpdate(
Value *ShadowDataInt = convertToShadowDataInt(IRB, Ptr, IntptrTy, PtrShift,
ShadowBase, AppMemMask);
- Type *Int8PtrPtrTy = PointerType::get(IRB.getPtrTy(), 0);
+ Type *Int8PtrPtrTy = PointerType::get(IRB.getContext(), 0);
----------------
junlarsen wrote:
Does this not end up being a single pointer? If so, it should probably not be named Int8PtrPtrTy. (Not that this patch changes anything here)
https://github.com/llvm/llvm-project/pull/123617
More information about the llvm-commits
mailing list