diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-06-14 19:06:48 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-06-14 19:06:48 +0000 |
| commit | 3dd0fb3e70064bd4830c8a080e20cdc77666bf46 (patch) | |
| tree | 0435d9e3d07dbec46df8394ef845ef8a83a9fae0 /clang/utils | |
| parent | b799a625f9221b017e2ab2503e291c503da6c763 (diff) | |
| download | bcm5719-llvm-3dd0fb3e70064bd4830c8a080e20cdc77666bf46.tar.gz bcm5719-llvm-3dd0fb3e70064bd4830c8a080e20cdc77666bf46.zip | |
[perf-training] Ignore 'Profile Note' warnings from the runtime
After r272599, -DLLVM_BUILD_INSTRUMENTED passes a default argument to
-fprofile-instr-generate. This confuses the perf-helper script because
the runtime emits a note stating that the default is overridden by the
LLVM_PROFILE_FILE environment variable.
Change the perf-helper script s.t it does not treat these notes as
failures.
This isn't a strictly NFC change, but I don't see a simple way to add a
test for it.
llvm-svn: 272695
Diffstat (limited to 'clang/utils')
| -rw-r--r-- | clang/utils/perf-training/perf-helper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/utils/perf-training/perf-helper.py b/clang/utils/perf-training/perf-helper.py index 8210bb81409..c7c4bddf895 100644 --- a/clang/utils/perf-training/perf-helper.py +++ b/clang/utils/perf-training/perf-helper.py @@ -122,6 +122,7 @@ def get_cc1_command_for_args(cmd, env): ln.startswith('Target:') or ln.startswith('Thread model:') or ln.startswith('InstalledDir:') or + ln.startswith('LLVM Profile Note') or ' version ' in ln): continue cc_commands.append(ln) |

