[LLVM][rtsan] Add sanitize_realtime attribute for the realtime sanitizer (#100596)
Add a new "sanitize_realtime" attribute, which will correspond to the nonblocking function effect in clang. This is used in the realtime sanitizer transform. Please see the [reviewer support document](https://github.com/realtime-sanitizer/radsan/blob/doc/review-support/doc/review.md) for what our next steps are. The original discourse thread can be found [here](https://discourse.llvm.org/t/rfc-nolock-and-noalloc-attributes/76837)
This commit is contained in:
1 parent
fd7d7882e7
commit
b143b2483f
8 files changed
+27
-2
No files matched your search
@@ -2141,6 +2141,8 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
|
||||
return Attribute::SanitizeMemory;
|
||||
case bitc::ATTR_KIND_SANITIZE_NUMERICAL_STABILITY:
|
||||
return Attribute::SanitizeNumericalStability;
|
||||
case bitc::ATTR_KIND_SANITIZE_REALTIME:
|
||||
return Attribute::SanitizeRealtime;
|
||||
case bitc::ATTR_KIND_SPECULATIVE_LOAD_HARDENING:
|
||||
return Attribute::SpeculativeLoadHardening;
|
||||
case bitc::ATTR_KIND_SWIFT_ERROR:
|
||||
|
||||
Reference in new issue
Block a user