Author: vedantk Date: Tue Jun 14 14:06:48 2016 New Revision: 272695 URL: http://llvm.org/viewvc/llvm-project?rev=272695&view=rev Log: [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. Modified: cfe/trunk/utils/perf-training/perf-helper.py Modified: cfe/trunk/utils/perf-training/perf-helper.py URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/perf-training/perf-helper.py?rev=272695&r1=272694&r2=272695&view=diff ============================================================================== --- cfe/trunk/utils/perf-training/perf-helper.py (original) +++ cfe/trunk/utils/perf-training/perf-helper.py Tue Jun 14 14:06:48 2016 @@ -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) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits