Add missing module flags for function-return=thunk-extern
This commit is contained in:
parent
2933f68abe
commit
540e41f8b3
2 changed files with 19 additions and 1 deletions
|
@ -26,3 +26,9 @@ pub fn foo() {
|
|||
// keep-thunk-extern: attributes #0 = { {{.*}}fn_ret_thunk_extern{{.*}} }
|
||||
// thunk-extern-keep-NOT: fn_ret_thunk_extern
|
||||
}
|
||||
|
||||
// unset-NOT: !{{[0-9]+}} = !{i32 4, !"function_return_thunk_extern", i32 1}
|
||||
// keep-NOT: !{{[0-9]+}} = !{i32 4, !"function_return_thunk_extern", i32 1}
|
||||
// thunk-extern: !{{[0-9]+}} = !{i32 4, !"function_return_thunk_extern", i32 1}
|
||||
// keep-thunk-extern: !{{[0-9]+}} = !{i32 4, !"function_return_thunk_extern", i32 1}
|
||||
// thunk-extern-keep-NOT: !{{[0-9]+}} = !{i32 4, !"function_return_thunk_extern", i32 1}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue