[all-commits] [llvm/llvm-project] adf36e: [Clang] Do not build the OffloadActionBuilder when...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Oct 11 15:46:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: adf36ea328910ce019893b426aac044bab166e73
https://github.com/llvm/llvm-project/commit/adf36ea328910ce019893b426aac044bab166e73
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Clang] Do not build the OffloadActionBuilder when using the new driver
The Offloading toolchain currently has two methods for construction the
requires actions. The "new" driver and the old `OffloadActionBuilder`.
Using either one is mutually exclusive, so we should not initialize this
when using the new driver. This was causing some error messages to be
printed multiple times because we were checking them in both the old and
the new driver.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D135715
More information about the All-commits
mailing list