[AMDGPU] Fix build failure after #97070 (NFC)
/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h:55:21:
error: use of undeclared identifier 'InterestingMemoryOperand'
SmallVectorImpl<InterestingMemoryOperand> &Interesting);
^
This commit is contained in:
@@ -181,7 +181,7 @@ void instrumentAddress(Module &M, IRBuilder<> &IRB, Instruction *OrigIns,
|
||||
|
||||
void getInterestingMemoryOperands(
|
||||
Module &M, Instruction *I,
|
||||
SmallVectorImpl<InterestingMemoryOperand> &Interesting) {
|
||||
SmallVectorImpl<MemoryRefInfo> &Interesting) {
|
||||
const DataLayout &DL = M.getDataLayout();
|
||||
if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
|
||||
Interesting.emplace_back(I, LI->getPointerOperandIndex(), false,
|
||||
|
||||
@@ -52,7 +52,7 @@ void instrumentAddress(Module &M, IRBuilder<> &IRB, Instruction *OrigIns,
|
||||
/// that needs to be instrumented
|
||||
void getInterestingMemoryOperands(
|
||||
Module &M, Instruction *I,
|
||||
SmallVectorImpl<InterestingMemoryOperand> &Interesting);
|
||||
SmallVectorImpl<MemoryRefInfo> &Interesting);
|
||||
|
||||
} // end namespace AMDGPU
|
||||
} // end namespace llvm
|
||||
|
||||
Reference in New Issue
Block a user