summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-02-10 22:17:00 +0000
committerJustin Lebar <jlebar@google.com>2016-02-10 22:17:00 +0000
commit4022d529594dea28ef11ae78c214cf37f139f053 (patch)
tree0e5582c51581d1767d0b4d902159024b4857158d /clang/lib/AST/MicrosoftMangle.cpp
parent936db8fa2f20a99596c16e209df37f1c29041844 (diff)
downloadbcm5719-llvm-4022d529594dea28ef11ae78c214cf37f139f053.tar.gz
bcm5719-llvm-4022d529594dea28ef11ae78c214cf37f139f053.zip
Bail on compilation as soon as a job fails.
Previously we attempted to be smart; if one job failed, we'd run all jobs that didn't depend on the failing job. Problem is, this doesn't work well for e.g. CUDA compilation without -save-temps. In this case, the device-side and host-side Assemble actions (which actually are responsible for preprocess, compile, backend, and assemble, since we're not saving temps) are necessarily distinct. So our clever heuristic doesn't help us, and we repeat every error message once for host and once for each device arch. The main effect of this change, other than fixing CUDA, is that if you pass multiple cc files to one instance of clang and you get a compile error, we'll stop when the first cc1 job fails. Reviewers: tra, echristo Subscribers: jhen, cfe-commits Differential Revision: http://reviews.llvm.org/D16514 llvm-svn: 260448
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud