@@ -363,7 +363,7 @@ class HWAddressSanitizer {
363363 void tagAlloca (IRBuilder<> &IRB, AllocaInst *AI, Value *Tag, size_t Size);
364364 Value *tagPointer (IRBuilder<> &IRB, Type *Ty, Value *PtrLong, Value *Tag);
365365 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,
367367 const DominatorTree &DT, const PostDominatorTree &PDT,
368368 const LoopInfo &LI);
369369 bool instrumentLandingPads (SmallVectorImpl<Instruction *> &RetVec);
@@ -1430,7 +1430,7 @@ bool HWAddressSanitizer::instrumentLandingPads(
14301430 return true ;
14311431}
14321432
1433- bool HWAddressSanitizer::instrumentStack (memtag::StackInfo &SInfo,
1433+ void HWAddressSanitizer::instrumentStack (memtag::StackInfo &SInfo,
14341434 Value *StackTag, Value *UARTag,
14351435 const DominatorTree &DT,
14361436 const PostDominatorTree &PDT,
@@ -1524,7 +1524,6 @@ bool HWAddressSanitizer::instrumentStack(memtag::StackInfo &SInfo,
15241524 }
15251525 memtag::alignAndPadAlloca (Info, Mapping.getObjectAlignment ());
15261526 }
1527- return true ;
15281527}
15291528
15301529static void emitRemark (const Function &F, OptimizationRemarkEmitter &ORE,
0 commit comments