[clang] [analyzer] use `invalidateRegions()` in `VisitGCCAsmStmt` (PR #109838)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 06:15:44 PDT 2024


https://github.com/steakhal approved this pull request.

A direct bind can be always swapped out for an invalidation, so this PR is correct.
I wonder if you have plans for interpreting the asm block to see if we could do something better - e.g. because we could infer that it will only write a specific input element instead of any reachable memory regions.

https://github.com/llvm/llvm-project/pull/109838


More information about the cfe-commits mailing list