[all-commits] [llvm/llvm-project] b3b6ed: [hwasan] Update (Post-)DominatorTreeAnalysis and L...

Thurston Dang via All-commits all-commits at lists.llvm.org
Thu Sep 28 09:09:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3b6edefdb7ae77e4b2344c9a64fd1d486c91405
      https://github.com/llvm/llvm-project/commit/b3b6edefdb7ae77e4b2344c9a64fd1d486c91405
  Author: Thurston Dang <thurston.dang at gmail.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list