Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:llunak:my
icecream
l-support-fprofile-instr-use.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File l-support-fprofile-instr-use.patch of Package icecream
From 6bf7fc6ee6f0d2f1e8fb21d7f55e9ff436d975de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= <l.lunak@centrum.cz> Date: Fri, 1 Apr 2022 16:40:51 +0200 Subject: [PATCH] support -fprofile-instr-use= This is used by Clang's PGO, with a file containing the PGO data. --- client/arg.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/arg.cpp b/client/arg.cpp index 3a26dc4..9eea2d1 100644 --- a/client/arg.cpp +++ b/client/arg.cpp @@ -618,9 +618,11 @@ bool analyse_argv(const char * const *argv, CompileJob &job, bool icerun, list<s args.append(a, Arg_Rest); } else if (str_startswith("-fplugin=", a) || str_startswith("-fsanitize-blacklist=", a) - || str_startswith("-fprofile-sample-use=", a)) { + || str_startswith("-fprofile-sample-use=", a) + || str_startswith("-fprofile-instr-use=", a)) { const char* prefix = nullptr; - static const char* const prefixes[] = { "-fplugin=", "-fsanitize-blacklist=", "-fprofile-sample-use=" }; + static const char* const prefixes[] = { "-fplugin=", "-fsanitize-blacklist=", + "-fprofile-sample-use=", "-fprofile-instr-use=" }; for(const char* const pr : prefixes) { if( str_startswith(pr, a)) { prefix = pr; -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor