[PATCH] D110791: [NFC] [hwasan] Remove unneeded member.

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 08:11:30 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9c8d8fc98fe7: [NFC] [hwasan] Remove unneeded member. (authored by fmayer).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110791

Files:
  llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h


Index: llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
===================================================================
--- llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
+++ llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
@@ -26,7 +26,6 @@
 public:
   Use *PtrUse;
   bool IsWrite;
-  Type *OpType;
   uint64_t TypeSize;
   MaybeAlign Alignment;
   // The mask Value, if we're looking at a masked load/store.
@@ -35,8 +34,7 @@
   InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite,
                            class Type *OpType, MaybeAlign Alignment,
                            Value *MaybeMask = nullptr)
-      : IsWrite(IsWrite), OpType(OpType), Alignment(Alignment),
-        MaybeMask(MaybeMask) {
+      : IsWrite(IsWrite), Alignment(Alignment), MaybeMask(MaybeMask) {
     const DataLayout &DL = I->getModule()->getDataLayout();
     TypeSize = DL.getTypeStoreSizeInBits(OpType);
     PtrUse = &I->getOperandUse(OperandNo);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110791.376229.patch
Type: text/x-patch
Size: 1027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210930/e23d75a9/attachment.bin>


More information about the llvm-commits mailing list