[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
Tue Feb 9 18:32:46 PST 2016
jlebar added a comment.
Okay, I see why things don't work as expected without this patch but do work for e.g. macos universal binaries.
The reason is, we build a completely separate set of actions for each invocation of cc1 -- one for the host compilation, and one for each device arch. Then the logic inside Compilation.cpp, which is in fact trying not to display duplicate errors, doesn't work, because it doesn't know that these compilations are related.
I think I may be able to fix this.
http://reviews.llvm.org/D16514
More information about the cfe-commits
mailing list