diff options
| author | Dehao Chen <dehao@google.com> | 2017-02-21 20:36:21 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2017-02-21 20:36:21 +0000 |
| commit | 7810d4fbd0423d98e3a9dd9b8b10a5aa1379b684 (patch) | |
| tree | 01e355160b8fe07543e76b76b12c00e044d811f0 /llvm/lib/Support/raw_ostream.cpp | |
| parent | 9227e108eb8f5cf4ed9d7b2591daa53e95f9aa6c (diff) | |
| download | bcm5719-llvm-7810d4fbd0423d98e3a9dd9b8b10a5aa1379b684.tar.gz bcm5719-llvm-7810d4fbd0423d98e3a9dd9b8b10a5aa1379b684.zip | |
Only enable AddDiscriminator pass when -fdebug-info-for-profiling is true
Summary: AddDiscriminator pass is only useful for sample pgo. This patch restricts AddDiscriminator to -fdebug-info-for-profiling so that it does not introduce unecessary debug size increases for non-sample-pgo builds.
Reviewers: dblaikie, aprantl
Reviewed By: dblaikie
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D30220
llvm-svn: 295764
Diffstat (limited to 'llvm/lib/Support/raw_ostream.cpp')
0 files changed, 0 insertions, 0 deletions

