mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user