forked from OSchip/llvm-project
[X86][test] Use Min behavior for "cf-protection-{branch,return}" tests
The behavior does not match that much. Min is the new Clang codegen behavior since D130065.
This commit is contained in:
parent
23ba688f02
commit
ad94b5c54f
|
@ -14,4 +14,4 @@ entry:
|
|||
!llvm.module.flags = !{!0}
|
||||
|
||||
attributes #0 = { "fentry-call"="true" }
|
||||
!0 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -31,6 +31,6 @@ entry:
|
|||
!llvm.module.flags = !{!0, !1, !2, !3}
|
||||
|
||||
!0 = !{i32 1, !"wchar_size", i32 4}
|
||||
!1 = !{i32 4, !"cf-protection-return", i32 1}
|
||||
!2 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!1 = !{i32 8, !"cf-protection-return", i32 1}
|
||||
!2 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
!3 = !{i32 1, !"Code Model", i32 4}
|
||||
|
|
|
@ -91,4 +91,4 @@ try.cont:
|
|||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -143,5 +143,5 @@ declare dso_local void @__cxa_end_catch()
|
|||
!llvm.module.flags = !{!0, !1, !2}
|
||||
|
||||
!0 = !{i32 1, !"wchar_size", i32 4}
|
||||
!1 = !{i32 4, !"cf-protection-return", i32 1}
|
||||
!2 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!1 = !{i32 8, !"cf-protection-return", i32 1}
|
||||
!2 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -72,5 +72,5 @@ attributes #1 = { returns_twice }
|
|||
!llvm.module.flags = !{!0, !1, !2}
|
||||
|
||||
!0 = !{i32 1, !"wchar_size", i32 4}
|
||||
!1 = !{i32 4, !"cf-protection-return", i32 1}
|
||||
!2 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!1 = !{i32 8, !"cf-protection-return", i32 1}
|
||||
!2 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -220,4 +220,4 @@ try.cont:
|
|||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -49,4 +49,4 @@ attributes #2 = { nocf_check }
|
|||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
|
||||
!llvm.module.flags = !{!0, !1}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-return", i32 1}
|
||||
!1 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-return", i32 1}
|
||||
!1 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -85,4 +85,4 @@ entry:
|
|||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-branch", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-branch", i32 1}
|
||||
|
|
|
@ -235,4 +235,4 @@ declare i32 @llvm.eh.sjlj.setjmp(ptr)
|
|||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-return", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-return", i32 1}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
!llvm.module.flags = !{!0}
|
||||
|
||||
!0 = !{i32 4, !"cf-protection-return", i32 1}
|
||||
!0 = !{i32 8, !"cf-protection-return", i32 1}
|
||||
...
|
||||
---
|
||||
name: bar
|
||||
|
|
Loading…
Reference in New Issue