forked from OSchip/llvm-project
[mte] fix runOnFunction return value falsely suggesting function was modified.
If NumInterestingAllocas == 0 we do not add any instrumentation or padding in the previous loop. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D118961
This commit is contained in:
parent
9385ece95a
commit
3918dd6b8a
|
@ -605,7 +605,7 @@ bool AArch64StackTagging::runOnFunction(Function &Fn) {
|
|||
}
|
||||
|
||||
if (NumInterestingAllocas == 0)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
std::unique_ptr<DominatorTree> DeleteDT;
|
||||
DominatorTree *DT = nullptr;
|
||||
|
|
Loading…
Reference in New Issue