[clang] Thread Safety Analysis: Support warning on obtaining address of guarded variables (PR #123063)
Marco Elver via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 09:57:17 PST 2025
melver wrote:
> Looks like the kernel patches [use](https://github.com/google/kernel-sanitizers/commit/81883e1fa377d866c288192b6eb8334bcf10f38f) `-fexperimental-late-parse-attributes`? :(
Yeah, no way around it if we want to have guarded_by in structs work properly. If the problem is cost, still planning to allow it to be disabled via Kconfig option.
https://github.com/llvm/llvm-project/pull/123063
More information about the cfe-commits
mailing list