summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-01-24 18:04:21 +0000
committerJulian Lettner <jlettner@apple.com>2019-01-24 18:04:21 +0000
commitb62e9dc46b353f8832516f60c9ea13c82d1ea183 (patch)
tree653fe1ed67d8ccfeaf394f7e8a889dfddbd9c4f2 /llvm/lib/Bitcode/Writer
parent1fa239f5002934f36b3de53989052bc9071e15fd (diff)
downloadbcm5719-llvm-b62e9dc46b353f8832516f60c9ea13c82d1ea183.tar.gz
bcm5719-llvm-b62e9dc46b353f8832516f60c9ea13c82d1ea183.zip
Revert "[Sanitizers] UBSan unreachable incompatible with ASan in the presence of `noreturn` calls"
This reverts commit cea84ab93aeb079a358ab1c8aeba6d9140ef8b47. llvm-svn: 352069
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-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 f16cdacaae3..f4a539e51f7 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -654,8 +654,6 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
return bitc::ATTR_KIND_NO_RED_ZONE;
case Attribute::NoReturn:
return bitc::ATTR_KIND_NO_RETURN;
- case Attribute::ExpectNoReturn:
- return bitc::ATTR_KIND_EXPECT_NO_RETURN;
case Attribute::NoCfCheck:
return bitc::ATTR_KIND_NOCF_CHECK;
case Attribute::NoUnwind:
OpenPOWER on IntegriCloud