[PATCH] add __attribute__ no_uninitialized_checks. Map no_uninitialized_checks/no_thread_safety_analysis to LLVM function attributes.
Kostya Serebryany
kcc at google.com
Mon Feb 11 02:21:46 PST 2013
Hi void, eugenis, dvyukov,
- Adding __attribute__((no_uninitialized_checks))
- Mapping __attribute__((no_uninitialized_checks)) to llvm::Attribute::UninitializedChecks (under MSAN)
- Mapping __attribute__((no_thread_safety_analysis)) llvm::Attribute::ThreadSafety (under TSAN)
- Updating Docs & Tests
http://llvm-reviews.chandlerc.com/D390
Files:
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CGDeclCXX.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/uninitialized-checks-attr.cpp
test/CodeGen/thread-safety-attr.cpp
include/clang/Basic/Attr.td
docs/MemorySanitizer.rst
docs/ThreadSanitizer.rst
docs/LanguageExtensions.rst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D390.1.patch
Type: text/x-patch
Size: 11658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130211/92f46d4d/attachment.bin>
More information about the cfe-commits
mailing list