diff options
author | 2017-04-19 06:27:11 +0200 | |
---|---|---|
committer | 2017-04-19 10:51:22 +0200 | |
commit | bb752ad0d85c9bfcb1359f091e956ab88544a7ef (patch) | |
tree | 55a992677ae867122f48a46a0508620a8a00409f /src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java | |
parent | cdcd27cb17ff16cca428d5269cbd5dd41fba39bf (diff) |
Support using minimized bitcode for ThinLTO LTO indexing step
This is the Blaze side of the support for emitting and using minimized bitcode files during the LTO indexing (thin link) step of a ThinLTO build. The llvm support has already been released to stable, and this needs to be submitted after the companion Crosstool support (unknown commit, will send for review once this larger part is reviewed).
This enables large applications successfully build using ThinLTO and -g, otherwise the bitcode files that are input to the LTO indexing step are huge and the maximum input size is exceeded.
PiperOrigin-RevId: 153549687
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java index 9fac16bb5e..720c9d24a6 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java @@ -102,6 +102,7 @@ public class FakeCppCompileAction extends CppCompileAction { null, null, null, + null, localShellEnvironment, cppConfiguration, // We only allow inclusion of header files explicitly declared in |