From 07cf78cdad9d995b6e3a5657473744038f9aeb29 Mon Sep 17 00:00:00 2001 From: Vlad Tsyrklevich Date: Tue, 3 Apr 2018 21:40:27 +0000 Subject: [PATCH] Fix bad copy-and-paste in r329108 llvm-svn: 329118 --- llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp b/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp index 54ab9843fce6..16d78e6b00cc 100644 --- a/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp +++ b/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp @@ -53,7 +53,7 @@ static Attribute::AttrKind parseAttrKind(StringRef Kind) { .Case("argmemonly", Attribute::ArgMemOnly) .Case("returns_twice", Attribute::ReturnsTwice) .Case("safestack", Attribute::SafeStack) - .Case("shadowcallstack", Attribute::SafeStack) + .Case("shadowcallstack", Attribute::ShadowCallStack) .Case("sanitize_address", Attribute::SanitizeAddress) .Case("sanitize_hwaddress", Attribute::SanitizeHWAddress) .Case("sanitize_memory", Attribute::SanitizeMemory)