HomePhabricator

Replace CLANG_SPAWN_CC1 env var with a driver mode flag
c4a134a5107cUnpublished

Authored by thakis on Jan 15 2020, 7:45 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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

(cherry picked from commit 8e5018e990b701391e6c33ba85b012343df67272)

Details

Committed
hansJan 16 2020, 3:54 AM
Differential Revision
D72769: Replace CLANG_SPAWN_CC1 env var with a driver mode flag
Parents
rG0b5157db53a3: First commit on the branch
Branches
Unknown
Tags
Unknown