summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Attributes.cpp
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/IR/Attributes.cpp
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/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index ab49adba81c..a474d5740fe 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -298,8 +298,6 @@ std::string Attribute::getAsString(bool InAttrGrp) const {
return "noredzone";
if (hasAttribute(Attribute::NoReturn))
return "noreturn";
- if (hasAttribute(Attribute::ExpectNoReturn))
- return "expect_noreturn";
if (hasAttribute(Attribute::NoCfCheck))
return "nocf_check";
if (hasAttribute(Attribute::NoRecurse))
OpenPOWER on IntegriCloud