summaryrefslogtreecommitdiffstats
path: root/clang/docs
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-01-15 10:45:02 -0500
committerHans Wennborg <hans@chromium.org>2020-01-16 12:54:53 +0100
commitc4a134a5107c1926262ee887057036ca53aa7265 (patch)
treea07d5a423b56a74c8435a2cb5757221d1905ec96 /clang/docs
parent0b5157db53a3bd1988d27820491bbf02cd1a1278 (diff)
downloadbcm5719-llvm-c4a134a5107c1926262ee887057036ca53aa7265.tar.gz
bcm5719-llvm-c4a134a5107c1926262ee887057036ca53aa7265.zip
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)
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ReleaseNotes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e131e4f1278..881dcb78b66 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -46,6 +46,11 @@ sections with improvements to Clang's support for those languages.
Major New Features
------------------
+- clang used to run the actual compilation in a subprocess ("clang -cc1").
+ Now compilations are done in-process by default. ``-fno-integrated-cc1``
+ restores the former behavior. The ``-v`` and ``-###`` flags will print
+ "(in-process)" when compilations are done in-process.
+
- ...
Improvements to Clang's diagnostics
OpenPOWER on IntegriCloud