Closed MattWindsor91 closed 4 years ago
This is sort of addressed in the first instance by backends now supporting argv
, and I'm intending to make a Litmus wrapper that'll automatically decide to use ascall
if it spots that the incoming test has returns.
litmus7
's-ascall
flag tells it to wrap test bodies in function calls, in much the same way as we implementc_litmus_indirect
(but less… indirectly).Ideally, the act backend system should be able to supply
-ascall
as and when needed (ie not duringc_litmus_indirect
. Working out a sufficiently abstract way of doing this sounds like Fun.