[llvm] [hwasan] Invalidate DominatorTreeAnalysis after each function is sanitized (PR #66935)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 09:39:03 PDT 2023
================
@@ -1520,10 +1537,10 @@ void HWAddressSanitizer::sanitizeFunction(Function &F,
Mapping.WithFrameRecord &&
!SInfo.AllocasToInstrument.empty());
+ DominatorTree &DT = FAM.getResult<DominatorTreeAnalysis>(F);
----------------
thurstond wrote:
Done, thanks for the suggestion!
https://github.com/llvm/llvm-project/pull/66935
More information about the llvm-commits
mailing list