sammccall added a comment. I think you're right - this isn't actually asynchronous (I didn't manage to test that!), and if it were it'd interfere with clean shutdown.
I think both issues can be addressed by assigning the future to a variable scoped to main. Will send a patch. Repository: rL LLVM https://reviews.llvm.org/D51638 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits