Commit 10caa6e
committed
Unlock
We added support for `-profile-generate` in the latest LLVM, but it is
explicitly banned for WebAssembly targets now. Unlock the feature by
adding the necessary runtime library to the link command line as well as
other platforms.-profile-generate for WebAssembly targets1 parent 9dd6657 commit 10caa6e
File tree
2 files changed
+26
-2
lines changed- Sources/SwiftDriver/Jobs
- Tests/SwiftDriverTests
2 files changed
+26
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4463 | 4463 | | |
4464 | 4464 | | |
4465 | 4465 | | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
| 4469 | + | |
| 4470 | + | |
| 4471 | + | |
| 4472 | + | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
| 4476 | + | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
| 4480 | + | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
| 4485 | + | |
| 4486 | + | |
4466 | 4487 | | |
4467 | 4488 | | |
4468 | 4489 | | |
| |||
0 commit comments