[all-commits] [llvm/llvm-project] 8e5018: Replace CLANG_SPAWN_CC1 env var with a driver mode...
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Jan 15 09:27:47 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8e5018e990b701391e6c33ba85b012343df67272
https://github.com/llvm/llvm-project/commit/8e5018e990b701391e6c33ba85b012343df67272
Author: Nico Weber <thakis at chromium.org>
Date: 2020-01-15 (Wed, 15 Jan 2020)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/cc1-spawnprocess.c
M clang/tools/driver/driver.cpp
Log Message:
-----------
Replace CLANG_SPAWN_CC1 env var with a driver mode flag
Flags are clang's default UI is flags.
We can have an env var in addition to that, but in D69825 nobody has yet
mentioned why this needs an env var, so omit it for now. If someone
needs to set the flag via env var, the existing CCC_OVERRIDE_OPTIONS
mechanism works for it (set CCC_OVERRIDE_OPTIONS=+-fno-integrated-cc1
for example).
Also mention the cc1-in-process change in the release notes.
Also spruce up the test a bit so it actually tests something :)
Differential Revision: https://reviews.llvm.org/D72769
More information about the All-commits
mailing list