[PATCH] D16514: Add -stop-on-failure driver option, and enable it by default for CUDA compiles.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 12 13:57:43 PST 2016


jlebar added a comment.

espindola reverted this in r260522 because of test failures in Driver/output-file-cleanup.c.

The reason I didn't catch this locally is that the test is non-hermetic -- if it passed once in an objdir, this patch does not make it fail again.  You have to nuke (part of) the objdir before it will fail.

I'll send a patch to make the test hermetic.  Unsure yet whether it's a bug in this patch or the test that the test fails at all.


Repository:
  rL LLVM

http://reviews.llvm.org/D16514





More information about the cfe-commits mailing list