diff options
| author | Nick Desaulniers <ndesaulniers@google.com> | 2020-10-26 13:00:50 -0700 |
|---|---|---|
| committer | Nick Desaulniers <ndesaulniers@google.com> | 2020-10-26 13:06:54 -0700 |
| commit | 0b11d018cc2f2c6bea5dac8dc72140cdb502ca02 (patch) | |
| tree | 8d0eb0ec0a0905eb8a8aa3cf7760db9276842e79 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 00928a1956a1618f394ffe99fc63b0d81e1f88c7 (diff) | |
[BitCode] decode nossp fn attr
I missed this in https://reviews.llvm.org/D87956.
Reviewed By: void
Differential Revision: https://reviews.llvm.org/D90177
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 f8069b93103f..a99d6baa8d9d 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1537,6 +1537,8 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) { return Attribute::ByRef; case bitc::ATTR_KIND_MUSTPROGRESS: return Attribute::MustProgress; + case bitc::ATTR_KIND_NO_STACK_PROTECT: + return Attribute::NoStackProtect; } } |
