diff options
author | Alexander Shaposhnikov <6532716+alexander-shaposhnikov@users.noreply.github.com> | 2024-06-10 17:53:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-10 17:53:22 -0700 |
commit | c4f8ae6f32dadf9383c94ed13152d91f68631255 (patch) | |
tree | 151cb81d1339179fd0ad55addf27d6fc586502db /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 189d4711915f4ce89b373f3cbcfe1f19c73becd9 (diff) | |
download | llvm-c4f8ae6f32dadf9383c94ed13152d91f68631255.zip llvm-c4f8ae6f32dadf9383c94ed13152d91f68631255.tar.gz llvm-c4f8ae6f32dadf9383c94ed13152d91f68631255.tar.bz2 |
[LLVM][IR][Sanitizers] Add sanitize_numerical_stability attribute (#95051)
Add sanitize_numerical_stability attribute.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 026595b..40852a6 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -2128,6 +2128,8 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) { return Attribute::SanitizeThread; case bitc::ATTR_KIND_SANITIZE_MEMORY: return Attribute::SanitizeMemory; + case bitc::ATTR_KIND_SANITIZE_NUMERICAL_STABILITY: + return Attribute::SanitizeNumericalStability; case bitc::ATTR_KIND_SPECULATIVE_LOAD_HARDENING: return Attribute::SpeculativeLoadHardening; case bitc::ATTR_KIND_SWIFT_ERROR: |