"opt" exit code from LLVM pass

Hi there,

I am wondering if there is a way to pass/register program exit code (“int” would be enough) from LLVM passes to “opt”.

Thanks,
Welson