Skip to content
Unverified Commit b3b6edef authored by Thurston Dang's avatar Thurston Dang Committed by GitHub
Browse files

[hwasan] Update (Post-)DominatorTreeAnalysis and LoopAnalysis incrementally (#66935)

HWAddressSanitizerPass::run sanitizes functions one by one. The
sanitization of each function - which may split blocks via
insertShadowTagCheck - may result in some cached analyses are invalid.
This matters because sanitizeFunction(F', FAM) may indirectly call the
global stack safety analysis, hence we need to make sure the analyses of
F are up to date.

Bug report: https://github.com/llvm/llvm-project/issues/66934
parent d5ccbaff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment