Commit 219f03e
[Driver][SYCL] warning emitted when compiling wrapped object (#16397)
After the switch to using clang to build the wrapped object the embedded
target in the IR is caused a warning to be emitted. Fix this by
adjusting the clang-offload-wrapper call to use the same host triple
that is used when performing a regular compilation. Matching these up
allows for no diagnostic to be emitted.
Warning emitted: warning: overriding the module target triple with
x86_64-pc-windows-msvc19.29.30154 [-Woverride-module]1 parent 46639ce commit 219f03e
File tree
4 files changed
+18
-13
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
4 files changed
+18
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10164 | 10164 | | |
10165 | 10165 | | |
10166 | 10166 | | |
10167 | | - | |
| 10167 | + | |
| 10168 | + | |
| 10169 | + | |
| 10170 | + | |
| 10171 | + | |
10168 | 10172 | | |
10169 | 10173 | | |
10170 | 10174 | | |
| |||
10293 | 10297 | | |
10294 | 10298 | | |
10295 | 10299 | | |
10296 | | - | |
10297 | | - | |
10298 | | - | |
| 10300 | + | |
| 10301 | + | |
| 10302 | + | |
10299 | 10303 | | |
10300 | 10304 | | |
10301 | 10305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments