[K/N] Fix objc_acr_contract test in two_stage mode

This commit is contained in:
Sergey Bogolepov
2021-08-31 12:54:59 +07:00
committed by Space
parent c23de2dae8
commit d4c91c96d3
@@ -3,7 +3,8 @@
declare void @llvm.objc.clang.arc.use(...) nounwind
define void @test(i8* %a, i8* %b) {
; define as weak, so we don't have a problem in a two-stage scenario.
define weak void @test(i8* %a, i8* %b) {
call void (...) @llvm.objc.clang.arc.use(i8* %a, i8* %b) nounwind
ret void
}