[llvm] [llvm][nsan] Skip function declarations (PR #105598)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 17:14:14 PDT 2024


MaskRay wrote:

Other sanitizers check `empty()`, which subsumes declarations, but I believe `empty()` definitions often indicate a bug. So just checking declaration is good.

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


More information about the llvm-commits mailing list