diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-05-05 14:37:20 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-05-05 14:37:20 +0000 |
commit | 81d92073177e4e415c85750a005f4d8cc4294149 (patch) | |
tree | d32c93ee6bbbda8c06f5324d0addbe3da0d8d5bd /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7bf825618c2d3d42d1ddce1c56e8b2047b2a3d96 (diff) | |
download | bcm5719-llvm-81d92073177e4e415c85750a005f4d8cc4294149.tar.gz bcm5719-llvm-81d92073177e4e415c85750a005f4d8cc4294149.zip |
[LTO] Handle Task=-1 passed to addSaveTemps
Summary:
This change is necessary for D46464, which will pass -1 as the Task
ID for distributed backends, so that the save temps files don't end
up with "4294967295" in their path. For distributed back ends, when -1
is passed, don't append any Task ID.
An existing test (tools/clang/test/CodeGen/thinlto_backend.ll) will
fail without this change after D46464.
Reviewers: pcc
Subscribers: mehdi_amini, inglorion, llvm-commits
Differential Revision: https://reviews.llvm.org/D46488
llvm-svn: 331591
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions