diff options
author | Artem Dergachev <adergachev@apple.com> | 2024-05-08 18:00:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 18:00:59 -0700 |
commit | 51f178d909d477bd269e0b434af1a7f9373d4e61 (patch) | |
tree | 519102f951082263c7283b7a8b017a031c0ccb28 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 73a01448c733bf08443435927677d0ebd133615b (diff) | |
download | llvm-51f178d909d477bd269e0b434af1a7f9373d4e61.zip llvm-51f178d909d477bd269e0b434af1a7f9373d4e61.tar.gz llvm-51f178d909d477bd269e0b434af1a7f9373d4e61.tar.bz2 |
[analyzer] MallocChecker: Recognize std::atomics in smart pointer suppression. (#90918)
Fixes #90498.
Same as 5337efc69cdd5 for atomic builtins, but for `std::atomic` this
time. This is useful because even though the actual builtin atomic is
still there, it may be buried beyond the inlining depth limit.
Also add one popular custom smart pointer class name to the name-based
heuristics, which isn't necessary to fix the bug but arguably a good
idea regardless.
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions