@@ -363,7 +363,7 @@ class HWAddressSanitizer {
363
363
void tagAlloca (IRBuilder<> &IRB, AllocaInst *AI, Value *Tag, size_t Size);
364
364
Value *tagPointer (IRBuilder<> &IRB, Type *Ty, Value *PtrLong, Value *Tag);
365
365
Value *untagPointer (IRBuilder<> &IRB, Value *PtrLong);
366
- bool instrumentStack (memtag::StackInfo &Info, Value *StackTag, Value *UARTag,
366
+ void instrumentStack (memtag::StackInfo &Info, Value *StackTag, Value *UARTag,
367
367
const DominatorTree &DT, const PostDominatorTree &PDT,
368
368
const LoopInfo &LI);
369
369
bool instrumentLandingPads (SmallVectorImpl<Instruction *> &RetVec);
@@ -1430,7 +1430,7 @@ bool HWAddressSanitizer::instrumentLandingPads(
1430
1430
return true ;
1431
1431
}
1432
1432
1433
- bool HWAddressSanitizer::instrumentStack (memtag::StackInfo &SInfo,
1433
+ void HWAddressSanitizer::instrumentStack (memtag::StackInfo &SInfo,
1434
1434
Value *StackTag, Value *UARTag,
1435
1435
const DominatorTree &DT,
1436
1436
const PostDominatorTree &PDT,
@@ -1524,7 +1524,6 @@ bool HWAddressSanitizer::instrumentStack(memtag::StackInfo &SInfo,
1524
1524
}
1525
1525
memtag::alignAndPadAlloca (Info, Mapping.getObjectAlignment ());
1526
1526
}
1527
- return true ;
1528
1527
}
1529
1528
1530
1529
static void emitRemark (const Function &F, OptimizationRemarkEmitter &ORE,
0 commit comments