<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/118690>118690</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`-fno-profile-instr-generate` ignored during linking
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cf-coheretech
</td>
</tr>
</table>
<pre>
The `-fno-profile-instr-generate` flag is ignored during linking. This repo has a minimal example: https://github.com/chf2117/noProfileFlag/tree/main
Clang installed from apt
clang --version:
```
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEkk-rnDwUxj_NcROU5Oh1nEUWvu9F6K6L23WJ8RjTxkTy53b67YszU9pFaUEQ8jw55xf4qZSs8UQSXv6Dl9dKlbyFKPVa67BRpEx6q-awfJdvGzHoeb36UB8xrNZRbX3KsTbkKapM0HO2OmWYTcwaHyItbCnResOc9V-tNw1722xikY7ANpWYYrv1dleO0U3thyNoR7blfCRoR8AJcDI2b2VudNgBJ72tKMQFcPLh44NhcsoATjkSAU67sh74CHz83ylv2AmonKOFrTHsTB35kep7WtfvFJMN_tzGR-j58-Pjp7n4XNij92wx0TW84bUo91A0Avj4pqKhfHLfhv5z39WHrp315VYbX858i6QWtoeF3Nk6QrI34OOHn2SvNp7ngFNJEXCaHy_4jQX4WC2yXa7tVVUkxaVt2w6x49Umh6WdZz107ToMyxXXy2VeuSDeXpZuXQVVViLHTiDvxPXlgrzRnDgOetaiH-ar6KDjtCvrGufe9yZEU9mUCkkhhv7KK6dmcumuB6Knb-yeAuJpS5TnpXouJkHHnU05_RqTbXYk_63Mn1WpSnTyLyqca56_c_YX0hlwusMlwOlJ_y7xRwAAAP__umjsbA">