diff options
author | Chris Apple <cja-private@pm.me> | 2024-08-26 12:49:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 12:49:27 -0700 |
commit | 178fc4779ece31392a2cd01472b0279e50b3a199 (patch) | |
tree | 0df69abb888edf09fb942d1f244706a7406cb9d9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 34dee0a96105d6aeb8b386efbbbfe437ab1be02e (diff) | |
download | llvm-178fc4779ece31392a2cd01472b0279e50b3a199.zip llvm-178fc4779ece31392a2cd01472b0279e50b3a199.tar.gz llvm-178fc4779ece31392a2cd01472b0279e50b3a199.tar.bz2 |
[LLVM][rtsan] Add LLVM nosanitize_realtime attribute (#105447)
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 2f3e90d..d21ff10 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -795,6 +795,8 @@ 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: |