aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Apple <cja-private@pm.me>2024-08-30 07:48:31 -0700
committerGitHub <noreply@github.com>2024-08-30 07:48:31 -0700
commitfef3426ad3d8d5bf01941438467df318d00c6279 (patch)
tree7185f2aefcfeb7a2af474a9d03c77df00e610a89 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentece6566048086cf2870d2c2bff46384df1b9e531 (diff)
downloadllvm-fef3426ad3d8d5bf01941438467df318d00c6279.zip
llvm-fef3426ad3d8d5bf01941438467df318d00c6279.tar.gz
llvm-fef3426ad3d8d5bf01941438467df318d00c6279.tar.bz2
Revert "[LLVM][rtsan] Add LLVM nosanitize_realtime attribute (#105447)" (#106743)
This reverts commit 178fc4779ece31392a2cd01472b0279e50b3a199. This attribute was not needed now that we are using the lsan style ScopedDisabler for disabling this sanitizer See #106736 #106125 For more discussion
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 3c5097f..26fd02b 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -795,8 +795,6 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
return bitc::ATTR_KIND_NO_SANITIZE_BOUNDS;
case Attribute::NoSanitizeCoverage:
return bitc::ATTR_KIND_NO_SANITIZE_COVERAGE;
- case llvm::Attribute::NoSanitizeRealtime:
- return bitc::ATTR_KIND_NO_SANITIZE_REALTIME;
case Attribute::NullPointerIsValid:
return bitc::ATTR_KIND_NULL_POINTER_IS_VALID;
case Attribute::OptimizeForDebugging: