Revert "[Sanitizers] UBSan unreachable incompatible with ASan in the presence of noreturn calls"

This reverts commit cea84ab93aeb079a358ab1c8aeba6d9140ef8b47.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352069 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Julian Lettner
2019-01-24 18:04:21 +00:00
parent a8d481282a
commit a1e328df4a
15 changed files with 25 additions and 65 deletions
+2 -9
View File
@@ -204,7 +204,7 @@ define void @f34()
; CHECK: define void @f34()
{
call void @nobuiltin() nobuiltin
; CHECK: call void @nobuiltin() #37
; CHECK: call void @nobuiltin() #36
ret void;
}
@@ -351,12 +351,6 @@ define void @f59() shadowcallstack
ret void
}
; CHECK: define void @f60() #36
define void @f60() expect_noreturn
{
ret void
}
; CHECK: attributes #0 = { noreturn }
; CHECK: attributes #1 = { nounwind }
; CHECK: attributes #2 = { readnone }
@@ -393,5 +387,4 @@ define void @f60() expect_noreturn
; CHECK: attributes #33 = { speculatable }
; CHECK: attributes #34 = { sanitize_hwaddress }
; CHECK: attributes #35 = { shadowcallstack }
; CHECK: attributes #36 = { expect_noreturn }
; CHECK: attributes #37 = { nobuiltin }
; CHECK: attributes #36 = { nobuiltin }