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 | 311f37bc8af838ea28a5ea2e3d3de0d32fe778b1 (patch) | |
tree | 4abedd2dbff30bc6f67ba0d09ec8b8b0a0cb3b17 /utils/perf-training/perf-helper.py | |
parent | c736d7a85fc9b1173a058a8a345b32453d22cee9 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/perf-training/perf-helper.py')
-rw-r--r-- | utils/perf-training/perf-helper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/perf-training/perf-helper.py b/utils/perf-training/perf-helper.py index 8210bb8140..c7c4bddf89 100644 --- a/utils/perf-training/perf-helper.py +++ b/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) |