[PATCH] D103143: [IR] Added operator delete to subclasses of User to avoid UB

Moritz Sichert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 02:11:07 PDT 2021


MoritzS updated this revision to Diff 357167.
MoritzS added a comment.

User::operator delete(Ptr) must not be called with any additional arguments. Fixed that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103143/new/

https://reviews.llvm.org/D103143

Files:
  llvm/include/llvm/Analysis/MemorySSA.h
  llvm/include/llvm/IR/Constants.h
  llvm/include/llvm/IR/GlobalIndirectSymbol.h
  llvm/include/llvm/IR/InstrTypes.h
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/IR/ConstantsContext.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103143.357167.patch
Type: text/x-patch
Size: 14857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210708/605379fb/attachment.bin>


More information about the llvm-commits mailing list