[llvm] 9c8d8fc - [NFC] [hwasan] Remove unneeded member.
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 30 08:11:25 PDT 2021
Author: Florian Mayer
Date: 2021-09-30T16:11:17+01:00
New Revision: 9c8d8fc98fe7105af8bf4e8d709e706d4327969e
URL: https://github.com/llvm/llvm-project/commit/9c8d8fc98fe7105af8bf4e8d709e706d4327969e
DIFF: https://github.com/llvm/llvm-project/commit/9c8d8fc98fe7105af8bf4e8d709e706d4327969e.diff
LOG: [NFC] [hwasan] Remove unneeded member.
Reviewed By: hctim
Differential Revision: https://reviews.llvm.org/D110791
Added:
Modified:
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
index 5a0fb835606a1..6c351e3f8e1ff 100644
--- a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
+++ b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
@@ -26,7 +26,6 @@ class InterestingMemoryOperand {
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 @@ class InterestingMemoryOperand {
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);
More information about the llvm-commits
mailing list