diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2016-10-31 17:27:26 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2016-10-31 17:27:26 +0000 |
commit | aacc03c918c835cb87225990551c3ed1d5271b66 (patch) | |
tree | d75b9aece6400f2fdce3aa2151cf711032e5e54f /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 849a6a5e5a1259c49c1544cfb84b476da5eae5c9 (diff) | |
download | llvm-aacc03c918c835cb87225990551c3ed1d5271b66.zip llvm-aacc03c918c835cb87225990551c3ed1d5271b66.tar.gz llvm-aacc03c918c835cb87225990551c3ed1d5271b66.tar.bz2 |
[analyzer] MacOSXAPIChecker: Disallow dispatch_once_t in ivars and heap.
Unlike global/static variables, calloc etc. functions that allocate ObjC
objects behave differently in terms of memory barriers, and hacks that make
dispatch_once as fast as it possibly could be start failing.
Differential Revision: https://reviews.llvm.org/D25909
llvm-svn: 285605
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions