[llvm] [hwasan] Invalidate DominatorTreeAnalysis after each function is sanitized (PR #66935)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 22 02:57:12 PDT 2023
================
@@ -861,8 +871,8 @@ int64_t HWAddressSanitizer::getAccessInfo(bool IsWrite,
}
HWAddressSanitizer::ShadowTagCheckInfo
-HWAddressSanitizer::insertShadowTagCheck(Value *Ptr,
- Instruction *InsertBefore) {
+HWAddressSanitizer::insertShadowTagCheck(Value *Ptr, Instruction *InsertBefore,
+ DomTreeUpdater *DTU, LoopInfo *LI) {
----------------
fhahn wrote:
Across all those interfaces, both `DTU` and `LI` will always be non-null. Better to pass as reference?
https://github.com/llvm/llvm-project/pull/66935
More information about the llvm-commits
mailing list